Skip to content

Commit

Permalink
Use github actions new variables var for repo location vs secret as i…
Browse files Browse the repository at this point in the history
…t does not need to be masked.
  • Loading branch information
duttonw committed Mar 29, 2024
1 parent 58be9fb commit 5f4c663
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/compile.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
- name: Publish qgds-qol-dist
uses: qld-gov-au/gha-publish-to-git@master
with:
repository: ${{ secrets.TARGET_REPO }}
repository: ${{ vars.TARGET_REPO }}
git_ref: '${{ github.ref }}'
branch: '${{ steps.extract_branch.outputs.branch }}'
github_token: '${{ secrets.GH_TOKEN }}'
Expand All @@ -170,10 +170,10 @@ jobs:
tag_branch: main
if: success()

- name: Publish to qgds-qol-cdn
- name: Publish to qld-gov-au/qgds-qol-mvp-cdn
uses: qld-gov-au/gha-cdn-version-tree-by-tag-builder@main
with:
repository: 'qld-gov-au/formio-qld-cdn'
repository: ${{ vars.TARGET_REPO_CDN }}
git_ref: '${{ github.ref }}'
branch: 'release'
github_token: '${{ secrets.GH_TOKEN }}'
Expand Down

0 comments on commit 5f4c663

Please sign in to comment.