Skip to content

more permissions

more permissions #88

on:
push:
branches:
- main
pull_request:
branches:
- main
name: renderbook
permissions:
contents: write
pages: write
gh-pages: write

Check failure on line 14 in .github/workflows/deploy_bookdown.yml

View workflow run for this annotation

GitHub Actions / renderbook

Invalid workflow file

The workflow is not valid. .github/workflows/deploy_bookdown.yml (Line: 14, Col: 3): Unexpected value 'gh-pages'
jobs:
bookdown:
name: Render-Book
runs-on: ubuntu-latest
container:
image: foxsen76/archbase-builder:latest
steps:
- name: bookdown builder
run: cd /opt/archbase && git pull && make -j 8 && cp -a ./_book /github/home/
- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
email: [email protected]
build_dir: /github/home/_book/