Skip to content

Commit

Permalink
pkgdown was missing token
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed Jun 30, 2024
1 parent e8fa7ed commit 978294d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CHUNKEDGRAPH_SECRET: ${{ secrets.CHUNKEDGRAPH_SECRET }}
FLYTABLE_TOKEN: ${{ secrets.FLYTABLE_TOKEN }}
RETICULATE_MINICONDA_PYTHON_VERSION: 3.8
RGL_USE_NULL: TRUE

permissions:
contents: write
steps:
Expand All @@ -47,6 +52,10 @@ jobs:
dr_fafbseg()
shell: Rscript {0}

- name: writetoken
run: fafbseg::flywire_set_token(token=Sys.getenv("CHUNKEDGRAPH_SECRET"))
shell: Rscript {0}

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

0 comments on commit 978294d

Please sign in to comment.