Skip to content

Commit

Permalink
Pass secret earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Dec 27, 2024
1 parent b94c0bf commit 7c679f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/chartpress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
build:
runs-on: ubuntu-20.04
timeout-minutes: 120
env:
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
steps:
- uses: actions/checkout@v1
- name: Login to GitHub Container Registry
Expand All @@ -31,7 +33,6 @@ jobs:
run: chartpress --push
env:
GITHUB_TOKEN: ${{ secrets.GHCR_GITHUB_TOKEN }}
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
################ Development secrets ################
- name: Staging - substitute secrets
if: github.ref == 'refs/heads/development'
Expand Down

0 comments on commit 7c679f8

Please sign in to comment.