Skip to content

Commit

Permalink
Github token
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Dec 24, 2023
1 parent 908abf1 commit f94ab1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: 2
extra-packages: any::remotes any::drat
extra-packages: any::drat

- name: Update R packages repo
run: |
Expand All @@ -83,6 +83,8 @@ jobs:
shell: Rscript {0}

- name: Setup Git config
env:
GITHUB_TOKEN: ${{ secrets.GH_ACTION }}
shell: bash
run: |
git config --global user.name 'GitHub Actions'
Expand All @@ -92,6 +94,7 @@ jobs:
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GH_ACTION }}
publish_branch: gh-pages
keep_files: true
publish_dir: .

0 comments on commit f94ab1b

Please sign in to comment.