Skip to content

Commit f6749aa

Browse files
committed
ci: use env var correctly
1 parent ae269b3 commit f6749aa

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/pro_selfhosted_release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ jobs:
5656
5757
- name: Run release
5858
run: |
59-
GITHUB_TOKEN=${{ secrets.GH_TOKEN }} task release:prod GPG_KEY_ID="A4FB 7208 48EA 79FA EC4E 9C30 0443 8136 6A5D 4731"
59+
GITHUB_TOKEN=${{ secrets.GH_TOKEN }} \
60+
GPG_KEY_ID="A4FB 7208 48EA 79FA EC4E 9C30 0443 8136 6A5D 4731" \
61+
task release:prod
6062
6163
deploy-prod:
6264
runs-on: ubuntu-latest

Taskfile.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ tasks:
1717
GOOS: ""
1818
GOARCH: ""
1919
APP_BUILD_TYPE: ""
20-
GPG_KEY_ID: ""
2120

2221
deps:
2322
desc: Install all build dependencies
@@ -177,7 +176,7 @@ tasks:
177176
release:test:
178177
desc: Create a local test release
179178
cmds:
180-
- GPG_KEY_ID={{ .GPG_KEY_ID }} goreleaser --auto-snapshot --clean --skip=sign
179+
- goreleaser --auto-snapshot --clean --skip=sign
181180

182181
docker:test:
183182
desc: Test containers by building, running, testing and deleting them

0 commit comments

Comments
 (0)