Skip to content

Fixed more indent issues. #7

Fixed more indent issues.

Fixed more indent issues. #7

name: Render & Deploy Site
on:
push:
branches:
- master
- main
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Set up Pandoc
uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: '3.1.1'
- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website
- name: Render Site
run: Rscript -e 'rmarkdown::render_site(input = "webBuild", output_format = "all" envir = parent.frame(), quiet = FALSE, encoding = "UTF-8")'
- name: Commit results
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add -A
git commit -m 'Rebuild site' || echo "No changes to commit"
git push origin || echo "No changes to commit"
deploy:
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
needs: jekyll-build

Check failure on line 53 in .github/workflows/github-action-pages.yml

View workflow run for this annotation

GitHub Actions / Render & Deploy Site

Invalid workflow file

The workflow is not valid. .github/workflows/github-action-pages.yml (Line: 53, Col: 12): Job 'deploy' depends on unknown job 'jekyll-build'.
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
steps:
- name: Deploy artifact
id: deployment
uses: actions/deploy-pages@v1