amend f67dd7fcb4c5b99b77fee70a90ae5c71fd4bc2b3: fix the spurious warn… #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy package site | |
on: | |
push: | |
branches: ["master"] | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/configure-pages@v5 | |
with: | |
enablement: true | |
- uses: r-lib/actions/setup-r@HEAD | |
with: | |
use-public-rspm: true | |
- uses: r-lib/actions/setup-r-dependencies@HEAD | |
- uses: yihui/litedown/site@HEAD | |
with: | |
site-dir: 'site' | |
- uses: actions/upload-pages-artifact@v3 | |
with: | |
path: 'site' | |
- id: deployment | |
uses: actions/deploy-pages@v4 |