show the error message instead of the code (a minor issue discovered … #11
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: ["main"] | |
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 |