Skip to content

Commit

Permalink
Merge pull request #399 from snyk/fix/deploy
Browse files Browse the repository at this point in the history
fix: use deploy key for pushing to main on deploy
  • Loading branch information
jgresty committed Nov 13, 2024
2 parents 0b5a254 + a8f4591 commit 2cf3f01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ jobs:
<<: *defaults
steps:
- checkout
- add_ssh_keys:
fingerprints:
- SHA256:8/K40kKZXhfGUPDuibC3fluK0DaJq8dLX2+JqS16o78
- run: |-
go install github.com/caarlos0/svu@latest
export VERSION=$(svu next)
Expand All @@ -117,7 +120,7 @@ jobs:
git add internal/cmd/cmd.go gomod2nix.toml
git commit -m "chore: prepare release ${VERSION}"
git tag ${VERSION}
git push -q https://${GH_TOKEN}@github.com/snyk/vervet.git main --tags
git push origin main --tags --atomic
fi
release:
Expand Down Expand Up @@ -201,7 +204,6 @@ workflows:

- prepare-release:
name: Prepare Release
context: nodejs-app-release
requires:
- Test
- Security Scans
Expand Down

0 comments on commit 2cf3f01

Please sign in to comment.