Commit Graph

58 Commits

Author SHA1 Message Date
James Ives
0657078fb0
Removes the worktree (#309)
* Removes the worktree

* Tests
2020-05-24 10:57:49 -04:00
Frederik Hanghøj Iversen
93e7aa6ea7
Add --no-recurse-submodules to git fetch (#299) 2020-05-18 08:55:52 -04:00
James Ives
f57432925b Removes the log 2020-05-14 17:56:56 -04:00
James Ives
1ada96b8f7
Deploy Status (#296)
* Deploy Status changes

* DEPLOY_STATUS -> DEPLOYMENT_STATUS
2020-05-14 17:24:32 -04:00
James Ives
2ec414d8d6 Fixes error handling and details in the readme. 2020-05-10 13:34:14 -04:00
James Ives
2f337e806c
Target Folder (#268)
* Creating target folder

* Formatting
2020-04-30 08:29:24 -04:00
James Ives
0467ae9871
Removed the need for a chmod command (#248) 2020-04-11 13:57:56 -04:00
Joachim Breitner
42b62470e4
Make sure rm -rf actually works. (#242)
* Make sure rm -rf actually works.

This makes sure directories in `temporaryDeploymentDirectory` are writabe before attempting to remove them. Fixes: #241

* Run formatter
2020-04-09 07:00:48 -04:00
Abhishek Kadam
145d802b17
append commit SHA to commit msg, only if not a part of it already. (#236)
* append commit SHA to commit msg, only if not a part of it already.

* user provided commit message will remain unmodified.

* Update src/git.ts

check, if SHA exists, before appending to commit message.

Co-Authored-By: James Ives <iam@jamesiv.es>

* linting bug fix (from failed workflow).

Co-authored-by: James Ives <iam@jamesiv.es>
2020-04-04 08:23:43 -04:00
JamesIves
c72d739e1c Force 2020-03-31 09:40:27 -04:00
James Ives
2f96cedf7a
Single Commit (#226)
* Wipe History #1

* singleCommit

* Integration tests

* Update README.md
2020-03-30 20:44:09 -04:00
JamesIves
27a495c42c Formatting 2020-03-28 13:27:15 -04:00
JamesIves
797f0da2e1 Update constants.ts 2020-03-28 13:25:18 -04:00
JamesIves
397fc01782 Wrap with debug 2020-03-28 13:06:55 -04:00
JamesIves
008bf69458 Correctly checks if values are true 2020-03-28 13:04:59 -04:00
JamesIves
0372f909eb Not Required 2020-03-28 12:38:18 -04:00
JamesIves
ff7201a4d8 Update git.ts 2020-03-28 11:33:51 -04:00
JamesIves
fb344c2b78 Debugging Changes 2020-03-28 10:35:26 -04:00
dependabot-preview[bot]
78f3c44617
Bump prettier from 1.19.1 to 2.0.2 (#210)
* Bump prettier from 1.19.1 to 2.0.2

Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Formatting for Prettier 2.0

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: JamesIves <iam@jamesiv.es>
2020-03-25 10:17:13 -04:00
Mathias Bynens
7314977437
Improve messages (#204) 2020-03-19 10:01:21 -04:00
JamesIves
9ce7c5f8d0 Linting errors 2020-03-09 09:19:16 -04:00
James Ives
b2acf87217
Migrates to eslint (#193) 2020-03-06 22:36:56 -05:00
JamesIves
d25f74597f Prettier file 2020-03-05 08:19:45 -05:00
JamesIves
6493e2de76 Update git.ts 2020-03-02 09:05:39 -05:00
JamesIves
a5c6b4613e gitHubRepository -> repositoryName 2020-03-02 08:37:55 -05:00
James Ives
71b19fd2fb
Package Exporting (#181)
* Corrects exporting

* README Changes

* Forgot the compiled code.

* Configuration changes

* Moving action package

* Update README.md

* Update README.md

* Improving example

* Update README.md

* Update src/lib.ts

Co-Authored-By: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>

* Correctly building types

* Update README.md

* Configuration update

* Update README.md

* Re-assigning

* Missing chnage

* More changes

* Some more information

* Setting changes to repositoryPath and tokenType

* Compiling

* Update package.json

* Token hiding

* Package Exporting Changes (#185)

* Initiial Changes

* Changes to action

* Compiled

* Added better logging for when debug is off...

* Removing base branch logging as it's not really required

* throw new Error -> throw

* Debug flag as an variable

* Update README.md

* More README Changes

* Update README.md

* Update README.md

* Update README.md

* error.message

* Fixes the debug flag

* Changing the directory routing for shell scripting

* Tidying!

* Changing to const

* Promotion

Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
2020-03-02 07:52:38 -05:00
JamesIves
4f2055e4f9 Turning on no-unsafe-finally 2020-02-15 14:15:43 -05:00
James Ives
2af9604f13
Adds git config options. (#154)
* Adds git config options.

* Compile
2020-01-27 23:55:28 -05:00
JamesIves
9e5e2050db Formatting 2020-01-19 16:19:40 -05:00
JamesIves
4e8c644240 More Test Coverage / Imps 2020-01-19 16:16:28 -05:00
James Ives
109bba8860
Test Coverage Improvements (#141)
* Test Coverage Improvements

* Update env.js
2020-01-19 15:33:14 -05:00
James Ives
7cea1d5967
[Issue-130] SSH Support (#140)
* First pass at deploy key support

* Needed

* More ssh

* Adds keyscan

* Another look at this

* More things....

* w

* Path to home

* w

* k

* Update git.ts

* ff

* dd

* test

* File Sync maybe

* Adds SSH Examples

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* x

* c

* Update README.md

* Integration tests

* Update integration-beta.yml

* More Changes
2020-01-19 13:15:19 -05:00
James Ives
d17161afee
[Issue-133] Customizable Commit Messages (#134)
* Customizable Commit Messages

* Removes lodash

* Update package.json

* README

* Changes

* Check for null

* Adds a dash
2020-01-18 14:41:49 -05:00
James Ives
e1634de1d0
Failing Build (#124) 2020-01-14 15:14:15 -05:00
James Ives
3ddbf41de7 git fetch 2020-01-14 14:22:01 -05:00
James Ives
b7e33f69fd git fetch again 2020-01-14 13:36:26 -05:00
James Ives
8a621223c0
git switch -> git checkout (#121)
* Changes

* Update git.ts

* rsync

* Remove apt-get

* Update git.ts

* Update git.js

* Update README.md

* Update README.md

* Update README.md

* Integration Test Addition

* README

* Update integration.yml

* Simplify
2020-01-14 10:04:59 -05:00
James Ives
41de4b88ee Some additional integration test fixes 2020-01-11 20:26:08 -05:00
James Ives
ed9ce077ed Additional Changes 2020-01-11 19:48:09 -05:00
James Ives
26eeb0b857 --rebase 2020-01-11 19:36:30 -05:00
James Ives
ab1c92261e Integration Test Changes 2020-01-11 19:30:07 -05:00
James Ives
9dbe7b2384 Integration Tests 2020-01-11 19:21:50 -05:00
James Ives
6d7895db3a
[Issue-111] Deployment Hotfix (#113)
* hotfix-1

* f

* Unit test fixes

* s

* Change

* lk

* Update git.test.ts
2020-01-08 08:32:47 -05:00
James Ives
a6723fe785
[Issue-107] Fixes an issue that prevents new branches from being created (#108)
* test

* l

* x

* Tests
2020-01-07 10:59:50 -05:00
James Ives
ae5d58fae3 Formatting 2019-12-21 16:52:52 -05:00
James Ives
271d30c8e2
Base Branch Defaults (#92)
* switchToBaseBranch

* Remove defaults

* README and Tests

* Additional changes
2019-12-21 16:51:39 -05:00
James Ives
247dcbb60f
[Issue-89] Post Deployment Tasks (#90)
* cleanup

* Changes

* Post cleanup2

* Changes

* Update git.test.ts
2019-12-21 14:58:59 -05:00
James Ives
08b281c798 Update git.ts 2019-12-20 17:36:35 -05:00
James Ives
682d643fa8 Clean Excludes 2019-12-20 17:36:30 -05:00
James Ives
771cc5a24a
[Issue-80] Adds target folder option (#82)
* Bump @actions/exec from 1.0.1 to 1.0.2

Bumps [@actions/exec](https://github.com/actions/toolkit/tree/HEAD/packages/exec) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/exec)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Adds target directory

* Target Folder Docs
2019-12-16 10:29:29 -05:00