Commit Graph

178 Commits

Author SHA1 Message Date
James Ives
f9ac38d93f Adds versioning change 2022-01-10 08:32:58 -05:00
dependabot[bot]
7456853943
Bump JamesIves/github-pages-deploy-action from 4.2.0 to 4.2.1 (#998)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.2.0...4.2.1)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 08:02:21 -05:00
dependabot[bot]
53efaaaccb
Bump JamesIves/github-pages-deploy-action from 4.1.9 to 4.2.0 (#992) 2022-01-07 10:30:46 +00:00
James Ives
5608b8174d
Update sponsors.yml 2022-01-06 10:41:48 -05:00
dependabot[bot]
c9ee890462
Bump JamesIves/github-sponsors-readme-action from 1.0.5 to 1.0.6 (#988)
Bumps [JamesIves/github-sponsors-readme-action](https://github.com/JamesIves/github-sponsors-readme-action) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/JamesIves/github-sponsors-readme-action/releases)
- [Commits](https://github.com/JamesIves/github-sponsors-readme-action/compare/1.0.5...1.0.6)

---
updated-dependencies:
- dependency-name: JamesIves/github-sponsors-readme-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-06 09:53:13 -05:00
James Ives
a7cf017c75
Ignore Case (#987)
* Update git.ts

* Formatting

* formatting

* Tests
2022-01-06 09:50:18 -05:00
dependabot[bot]
43e20fe3ca
Bump dawidd6/action-delete-branch from 2.0.1 to 3.1.0 (#982)
Bumps [dawidd6/action-delete-branch](https://github.com/dawidd6/action-delete-branch) from 2.0.1 to 3.1.0.
- [Release notes](https://github.com/dawidd6/action-delete-branch/releases)
- [Commits](https://github.com/dawidd6/action-delete-branch/compare/v2.0.1...v3.1.0)

---
updated-dependencies:
- dependency-name: dawidd6/action-delete-branch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-06 08:47:01 -05:00
dependabot[bot]
e92afa83cc
Bump actions/setup-node from 1.4.4 to 2.5.1 (#983)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1.4.4 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1.4.4...v2.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-06 08:46:55 -05:00
dependabot[bot]
d97d054194
Bump webfactory/ssh-agent from 0.4.1 to 0.5.4 (#984)
Bumps [webfactory/ssh-agent](https://github.com/webfactory/ssh-agent) from 0.4.1 to 0.5.4.
- [Release notes](https://github.com/webfactory/ssh-agent/releases)
- [Changelog](https://github.com/webfactory/ssh-agent/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webfactory/ssh-agent/compare/v0.4.1...v0.5.4)

---
updated-dependencies:
- dependency-name: webfactory/ssh-agent
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-06 08:46:48 -05:00
dependabot[bot]
5ef208127e
Bump codecov/codecov-action from 1 to 2.1.0 (#985)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v2.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-06 08:46:40 -05:00
dependabot[bot]
6476a4409f
Bump JamesIves/github-pages-deploy-action from 4.0.0 to 4.1.9 (#986)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.0.0 to 4.1.9.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.0.0...4.1.9)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-06 08:46:32 -05:00
James Ives
a5d8ac6765 Modifies versioning 2022-01-06 08:39:45 -05:00
James Ives
760b8aba1c
Update publish.yml 2021-11-18 08:42:57 -05:00
James Ives
2d9f6f66a1 🔧 Node Version 2021-11-18 08:12:09 -05:00
James Ives
437803aab1 Assigning readme changes for 4.1.4 2021-06-04 10:10:55 -04:00
James Ives
097d2b354c Docs 2021-05-11 19:23:56 -04:00
James Ives
c8f3300436 4.1.2 2021-05-10 10:36:46 -04:00
James Ives
6502bd3a55
Changes to ref search (#705)
* Exact match on branchExists

* Linting
2021-05-10 09:18:05 -04:00
James Ives
0afb880e95
Allow Subsequent Deployments (#690)
* Removing artifacts

* Update git.ts

* Update git.ts

* Fixng up unit tests

* Update main.test.ts

* Update integration.yml

* Update integration.yml
2021-05-10 09:17:42 -04:00
James Ives
3fe8ff95b7 Update sponsors.yml 2021-05-06 09:06:50 -04:00
James Ives
f0e52745d5 Update sponsors.yml 2021-05-05 23:39:54 -04:00
James Ives
3ee97cff89 Adds Sponsors 2021-05-05 23:20:11 -04:00
James Ives
4bb15711fb
Eslint improvements (#686)
* Initial Pass at new configs

* Improved Linting/Formatting

* Update execute.ts

* Update main.test.ts

* Change typing

* Update git.ts

* Update worktree.ts

* Update worktree.ts

* Update worktree.ts

* Maybe

* Update execute.ts
2021-04-26 18:57:10 -04:00
James Ives
275cab7b2f Restore 2021-02-28 09:10:36 -05:00
James Ives
8071991fe8 Double Quotes not allowed? 2021-02-28 09:09:15 -05:00
James Ives
207c32e0dc Integration Test 2021-02-28 09:08:07 -05:00
James Ives
cece268304 Update integration.yml 2021-02-14 11:03:56 -05:00
James Ives
b94aa2504f Update integration.yml 2021-02-14 11:02:41 -05:00
James Ives
6f49a521be
Improvements to workflow automation (#597) 2021-02-10 09:12:47 -05:00
James Ives
476151d9aa Integration Test Upgrades 2021-02-08 10:06:11 -05:00
James Ives
4bd5861a58 Restore to releases/v4 2021-02-08 09:44:51 -05:00
James Ives
937fa944b8 Additional workflow adjustments for deployments 2021-02-08 09:40:49 -05:00
James Ives
babb004003 Update deploy.yml 2021-02-08 09:23:04 -05:00
James Ives
cb85fae691 Workflow Dispatch Events
* Adds workflow dispatch events for deployments.
2021-02-08 09:18:17 -05:00
James Ives
37a03e14ef
Restoring patch now major version has been cut 2021-02-08 00:38:38 -05:00
James Ives
4f4d7a7b17 Integration adjustments 2021-02-08 00:18:51 -05:00
James Ives
fb0dfed981 Tempoarily disabling version patching for release 2021-02-08 00:17:07 -05:00
James Ives
573757e942 Update build.yml 2021-02-06 10:17:38 -05:00
James Ives
1cd8848dc2 Update build.yml 2021-02-06 10:14:37 -05:00
James Ives
0efa3c16e7 Update build.yml 2021-02-06 10:09:56 -05:00
James Ives
e619c913e7 Update build.yml 2021-02-06 10:09:18 -05:00
James Ives
0f323d2a56 Update build.yml 2021-02-06 10:07:30 -05:00
James Ives
8f515b0d1f
Update integration.yml 2021-02-05 23:09:56 -05:00
James Ives
68e6090365
Update integration.yml 2021-02-05 22:59:40 -05:00
James Ives
8bc1c10da7
Update integration.yml 2021-02-05 22:56:31 -05:00
James Ives
a82e78fb36
Update integration.yml 2021-02-05 22:43:41 -05:00
James Ives
2bda9272a8
Update integration.yml 2021-02-05 22:39:07 -05:00
James Ives
d7664c8081
Update integration.yml 2021-02-05 22:12:59 -05:00
James Ives
442182742b
[Release] Version 4 (#589)
* Stop checking out workspace (#515)

* Stop checking out base branch before deployment, drop option.

* Don't check out default branch, as we don't check out base branch, drop option.

* Don't stash/unstash as we don't update the workdir, drop preserve option.

* Don't init the workspace

* Only fetch the remote branch if it exists, only with depth 1.

* Rely on previous checkouts to have handled lfs files correctly, drop option.

* Update README, action.yml, integration tests

* Set up eslint for test files. (#517)

* Add DRY_RUN option, passing --dry-run to git push. (#526)

See #499 for the proposal.

* Simplifies Token Setup (#530)

* Token simplification

* Access Token / Github Token -> Token

* Oops

* Typos

* Update README.md

* Update README.md

* Update action.yml

Co-authored-by: Axel Hecht <axel@pike.org>

* Update README.md

Co-authored-by: Axel Hecht <axel@pike.org>

* Update README.md

Co-authored-by: Axel Hecht <axel@pike.org>

* Adjust codeql action to latest recommendations (#540)

Also, add the dev and release branches, and drop master.

* Add workflow to update build and node_modules on release branches (#541)

* Stores username/email in secrets

* Removing stale bot integration

* Test current code base as an integration test for PRs and pushes (#505)

* Add a build step to create lib and node_modules artifact

* Run integration test with built dist and current SHA as base

For pull requests, the github.sha is the sha of the merge to the
target branch, not the head of the PR. Special case that.

* Use v2 checkout, and DRY_RUN for the integration test.

I also made the branches more generic, as there are now more of them.

* Fix #536, don't push at all on dryRun

Also add tests for dryRun and singleCommit and generateBranch
code flows.

* Try to fix dryRun on new remote branches, refactor fetch

* Try to fix dryRun, only fetch if origin branch exists

* Refactor worktree setup to include branch generation and setup for singleCommit

This is a continuation of the no-checkout work, and sadly suggested pretty
intensive changes.

* Set up git config to fix tests, also make debugging easier

* Add matrix for existing and non-existing branch

* Add matrix for singleCommit and not

* Drop GITHUB_TOKEN, add DRY_RUN to action.yml

* When deploying existing branch, add a modifcation and deploy again

* Force branch checkout to work in redeployment scenarios

* Make singleCommit easier to see in job descriptions

* Review comments

* Add a test-only property to action to test code paths with remote branch.

* Introduce TestFlag enum to signal different test scenarios to unit tests

* Fix util.test.ts

* Update worktree.ts

* Fix a few nits in tests and automation. Don't try to wordcount ls-rem… (#546)

* Fix a few nits in tests and automation. Don't try to wordcount ls-remote.

Nits in tests are around undoing changes made to the environment,
and to not modify the checkout.

* Describe suite with empty SHA

* Lowercase Inputs (#547)

* Lowercases inputs

* Adjusts workflow tests and deployment_status

* Use multi-line string for clean-exclude patterns. (#553)

As this change is subtle, I'm taking the opportunity to change
the underscore for the hyphen, which makes it less likely that
users of this action will just pass in an old json array.

* Hyphenate inputs and outputs, add step output, fix #558 (#559)

* Hyphenate inputs and outputs, add step output, fix #558

I've also tried to make the clean docs a bit clearer, and consistent
about clean being on my default. Still not totally happy with the intro
of the docs there, though.

* Add testing of step outputs to build integration tests

* Security Docs

* Integration tests

* Revert "Integration tests"

This reverts commit 639ff537d5.

* Native SSH Key Support (#569)

* SSH Key Support 🔑

* Update ssh.ts

* Update src/ssh.ts

Co-authored-by: Axel Hecht <axel@pike.org>

* README fixes/etc

* Unit Tests & README

* ssh key

* Update README.md

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update integration.yml

Co-authored-by: Axel Hecht <axel@pike.org>

* Deployment Issues (#583)

* Update git.ts

* Tests

* Update git.ts

* Formatting

* Update src/git.ts

Co-authored-by: Axel Hecht <axel@pike.org>

* TestFlag

* Logging

* Update git.ts

Co-authored-by: Axel Hecht <axel@pike.org>

* Codespace Support (#584)

* Add files via upload

* Update README.md

* Add files via upload

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* SSH Issues (#588)

* Unsets Persisted Credentials (#587)

* Persist

* Config Setup/Tests

* Assets

* Update git.ts

* Spacing

* Update integration.yml

* Update README.md

Co-authored-by: Axel Hecht <axel@pike.org>
2021-02-05 22:05:18 -05:00
James Ives
d91bc43f92 Fixes int tests 2020-11-17 15:36:57 -05:00
James Ives
ce17a21cd5 Setup node workflows 2020-11-17 11:57:42 -05:00
James Ives
d9215d10f8
Update integration-beta.yml 2020-11-17 00:43:25 -05:00
James Ives
881130db25
Update integration.yml 2020-11-17 00:43:03 -05:00
James Ives
0e70ab21c6
Update integration.yml 2020-09-12 18:57:20 -04:00
James Ives
48d8709250
Update integration.yml 2020-09-12 18:36:04 -04:00
James Ives
d72c5c503c
Create codeql-analysis.yml 2020-07-15 09:43:03 -04:00
James Ives
a108ee7921 Update integration.yml 2020-06-06 12:43:20 -04:00
James Ives
8182653089 Update build.yml 2020-05-16 18:26:05 -04:00
James Ives
f1da4c7be1 Migrates to using yarn over npm 2020-05-16 18:19:08 -04:00
James Ives
8945e5d754 Fixes Publishing Pipeline for GitHub 2020-05-16 18:11:24 -04:00
James Ives
ea563ffb30 Improving integration tests 2020-04-30 08:49:28 -04:00
JamesIves
7308b6d813 Update publish.yml 2020-04-02 09:27:48 -04:00
JamesIves
fd63badb95 Update publish.yml 2020-04-02 08:58:12 -04:00
JamesIves
2f2661aa84 Update integration-beta.yml 2020-03-31 12:57:46 -04:00
JamesIves
3ebab753dc Update integration.yml 2020-03-31 12:26:31 -04:00
JamesIves
2f6c320eff More changes 2020-03-31 12:26:01 -04:00
JamesIves
34b5c4eeb9 Update integration-beta.yml 2020-03-31 12:10:36 -04:00
JamesIves
3fb7d2676c Branch Cleanup for Integration Tests 2020-03-31 12:08:23 -04:00
JamesIves
ff893b9c08 Update integration-beta.yml 2020-03-31 11:55:36 -04:00
JamesIves
a6d2d023a5 Inconsistent Test Issue 2020-03-31 11:50:43 -04:00
JamesIves
ef726480a1 Update integration-beta.yml 2020-03-31 11:34:03 -04:00
JamesIves
0fdccf779b Update integration.yml 2020-03-31 11:26:52 -04:00
JamesIves
acee6dba59 Int Tests 2020-03-31 11:26:00 -04:00
JamesIves
76fcd57e2c Update publish.yml 2020-03-31 10:31:45 -04:00
JamesIves
e0c8d9fde8 Update publish.yml 2020-03-31 10:22:22 -04:00
JamesIves
9743c0d549 Publishing Script 2020-03-31 10:14:23 -04:00
JamesIves
8166647974 Update integration-beta.yml 2020-03-31 09:54:49 -04:00
JamesIves
9a3cf1925d Adds ability to cross publish 2020-03-31 08:35:06 -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
James Ives
0d44bd0c4b
Update build.yml 2020-03-09 08:51:05 -04:00
JamesIves
0a2a93df00 Make npm build the lib folder 2020-03-02 09:37:21 -05:00
JamesIves
6ea2897e5b Workflow Changes 2020-02-22 09:36:41 -05:00
JamesIves
cf2d40959f Update publish.yml 2020-02-22 09:33:19 -05:00
JamesIves
92e4cccd97 Adjustmnets 2020-02-22 09:24:57 -05:00
JamesIves
56f534b9f4 Update publish.yml 2020-02-22 09:24:05 -05:00
JamesIves
389e484d6d Mo 2020-02-22 09:23:41 -05:00
JamesIves
f4b35ad980 Update publish.yml 2020-02-22 09:16:00 -05:00
JamesIves
a44b89c1b4 Publish Workflow 2020-02-22 09:14:37 -05:00
James Ives
2af9604f13
Adds git config options. (#154)
* Adds git config options.

* Compile
2020-01-27 23:55:28 -05:00
James Ives
a4abd1d79f
Update build.yml 2020-01-19 13:48:11 -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
bc4fda8b9a
Update integration.yml 2020-01-18 17:38:08 -05:00
James Ives
7caf584de1
Support action/checkout@v2 (#136) 2020-01-18 14:51:53 -05:00
James Ives
328d975696 Update integration-beta.yml 2020-01-14 10:20:41 -05:00
James Ives
a53cac04e5
Additional Integration tests (#123) 2020-01-14 10:19:04 -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
d51113f1c1 Update integration.yml 2020-01-11 19:48:44 -05:00
James Ives
9f4f82344d Update integration.yml 2020-01-11 19:47:17 -05:00
James Ives
ff25f6df47 Update integration.yml 2020-01-11 19:32:17 -05:00