Skip to content

CI/CD: more use workflow_call, add checkers #7

CI/CD: more use workflow_call, add checkers

CI/CD: more use workflow_call, add checkers #7

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ master, web-integration ]
jobs:
build-checkers:
uses: ./.github/workflows/checkers.yml

Check failure on line 9 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

error parsing called workflow ".github/workflows/deploy.yml" -> "./.github/workflows/checkers.yml" (source branch with sha:6d297c3aff53a012d93a7fba4f092f57b480d94d) : (Line: 20, Col: 16): Unrecognized named-value: 'env'. Located at position 1 within expression: env.PUBLISH, (Line: 26, Col: 16): Unrecognized named-value: 'env'. Located at position 1 within expression: env.PUBLISH, (Line: 32, Col: 16): Unrecognized named-value: 'env'. Located at position 1 within expression: env.PUBLISH
with:
publish: true
deploy-ghpages:
needs: [build-checkers]
runs-on: ubuntu-latest
steps:
- name: Download doc artifact
uses: actions/download-artifact@v4
with:
name: doc
path: .
- name: Download web artifact
uses: actions/download-artifact@v4
with:
name: web
path: .
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
enable_jekyll: false
allow_empty_commit: false
force_orphan: true