Skip to content

deploy-book

deploy-book #27

Workflow file for this run

name: deploy-book
on:
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/build-book.yaml

Check failure on line 8 in .github/workflows/deploy-book.yaml

View workflow run for this annotation

GitHub Actions / deploy-book

Invalid workflow file

The workflow is not valid. In .github/workflows/deploy-book.yaml (Line: 8, Col: 11): Error from called workflow openradar/erad2024/.github/workflows/build-book.yaml@c205b7004bf5191d7600270cd77a5dd009f9160c (Line: 40, Col: 9): Unexpected value 'run' In .github/workflows/deploy-book.yaml (Line: 8, Col: 11): Error from called workflow openradar/erad2024/.github/workflows/build-book.yaml@c205b7004bf5191d7600270cd77a5dd009f9160c (Line: 37, Col: 9): Required property is missing: uses
with:
environment_name: erad-2024-dev
environment_file: environment.yml
path_to_notebooks: ./
deploy:
needs: build
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Download Artifact Book
uses: actions/download-artifact@v4
with:
name: book-zip-${{ github.event.number }}
- name: Unzip the book
run: |
rm -rf _build/html
unzip book.zip
rm -f book.zip
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4.0.0
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/html
keep_files: true # This preserves existing previews from open PRs