Skip to content

Commit

Permalink
Add Github_pat to deploy_bookdown Action
Browse files Browse the repository at this point in the history
  • Loading branch information
statnmap committed Sep 26, 2021
1 parent 98938a7 commit 9c86853
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy_bookdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
branches:
- master

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

name: renderbook

jobs:
Expand Down Expand Up @@ -53,7 +56,7 @@ jobs:
run: Rscript prep.R

- name: Render Book
run: docker pull colinfay/hexmake && Rscript -e 'bookdown::render_book("index.Rmd")'
run: Rscript -e 'bookdown::render_book("index.Rmd")'

- name: Build redirect
run: Rscript redirect.R
Expand Down

0 comments on commit 9c86853

Please sign in to comment.