Skip to content

OMC25 dataset release docs update (#1396) #41

OMC25 dataset release docs update (#1396)

OMC25 dataset release docs update (#1396) #41

Workflow file for this run

name: build and deploy docs
on:
workflow_call:
workflow_dispatch:
push:
branches: ['main']
paths: ['docs/**']
jobs:
build:
uses: ./.github/workflows/build_docs.yml

Check failure on line 12 in .github/workflows/deploy_docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy_docs.yml

Invalid workflow file

error parsing called workflow ".github/workflows/deploy_docs.yml" -> "./.github/workflows/build_docs.yml" (source branch with sha:2da6fdd837433ea383444fd217d82947f878e40b) : workflow is not reusable as it is missing a `on.workflow_call` trigger
secrets: inherit
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download docs artifact
uses: actions/download-artifact@v4
with:
name: docs-html
path: docs-html/
- name: Deploy to ghpages branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs-html
- name: Deploy to fair-chem.github.io
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: FAIR-Chem/fair-chem.github.io
publish_branch: gh-pages
publish_dir: docs-html