Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Remove .gx on initial deployment
Browse files Browse the repository at this point in the history
Update the copy workflow to remove `.gx` if it is present now that GX
has become redundant in favour of `go.mod`.

Relates to:
- https://github.com/whyrusleeping/gx
  • Loading branch information
masih committed Jul 20, 2021
1 parent 25abcc8 commit 4632d78
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/copy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ jobs:
git rm -r .circleci
git commit -m "disable CircleCI"
fi
- name: remove GX on initial deployment
if: ${{ env.INITIAL_TEST_DEPLOYMENT == 1 }}
run: |
cd $TARGET_REPO_DIR
if [[ -d .gx ]]; then
git rm -r .gx
git commit -m "disable GX"
fi
- name: run go mod tidy
run: |
cd $TARGET_REPO_DIR
Expand Down

0 comments on commit 4632d78

Please sign in to comment.