Skip to content

Commit

Permalink
Moved env variable call.
Browse files Browse the repository at this point in the history
  • Loading branch information
rachmaninoffpk committed Nov 8, 2024
1 parent b83545e commit f19eb2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
env:
CTX_API_KEY: ${{ secrets.CTX_API_KEY }}
permissions:
contents: write
steps:
Expand All @@ -38,11 +36,13 @@ jobs:
with:
extra-packages: any::pkgdown, local::.
needs: website
CTX_API_KEY: ${{ secrets.CTX_API_KEY }}

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}


- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
Expand Down

0 comments on commit f19eb2b

Please sign in to comment.