Skip to content

Commit

Permalink
build: try passing secret through job env properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jws-1 committed Apr 26, 2024
1 parent ed951c7 commit b0d7b06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
uses: "./.github/workflows/qc"
Documentation:
runs-on: ubuntu-latest
env:
DOCS_DEPLOY_KEY: ${{ secrets.DOCS_DEPLOY_KEY }}
steps:
- name: Checkout Repository and Submodules
uses: actions/checkout@v4
- name: Build & Deploy Documentation
uses: "./.github/workflows/docs"
secrets: inherit
uses: "./.github/workflows/docs"
2 changes: 1 addition & 1 deletion .github/workflows/docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ runs:
uses: peaceiris/actions-gh-pages@v3
if: github.event_name != 'pull_request' && github.ref_name == 'main'
with:
deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }}
deploy_key: ${{ env.DOCS_DEPLOY_KEY }}
publish_dir: ./documentation/web/build
external_repository: lasr-at-home/docs

0 comments on commit b0d7b06

Please sign in to comment.