Skip to content

Commit

Permalink
ci: Use deploy SSH key to push (#366)
Browse files Browse the repository at this point in the history
* ci: Use deploy SSH key to push

* ci: remove unused setup-go from release workflow
  • Loading branch information
radeksimko authored Feb 20, 2023
1 parent 1775fcc commit 1acf3e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ jobs:
-
name: Checkout
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # https://github.com/actions/checkout/releases/tag/v3.2.0
-
name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # https://github.com/actions/setup-go/releases/tag/v3.5.0
with:
go-version: stable
ssh-key: "${{ secrets.GIT_SSH_PRIVATE_KEY }}"
-
id: setup-signore-package
uses: hashicorp/setup-signore-package@v1
Expand All @@ -31,4 +28,7 @@ jobs:
SIGNORE_CLIENT_ID: ${{ secrets.SIGNORE_CLIENT_ID }}
SIGNORE_CLIENT_SECRET: ${{ secrets.SIGNORE_CLIENT_SECRET }}
SIGNORE_SIGNER: ${{ secrets.SIGNORE_SIGNER }}
run: ./scripts/release/release.sh
run: |
echo "${{ secrets.GIT_SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed22519
./scripts/release/release.sh
rm -f ~/.ssh/id_ed22519

0 comments on commit 1acf3e1

Please sign in to comment.