Skip to content

Enable manually triggering of workflow #30

Enable manually triggering of workflow

Enable manually triggering of workflow #30

Workflow file for this run

name: Deploy docs to GitHub Pages
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build-docs:
uses: ./.github/workflows/build_docs.yml
with:
artifact_name: geordpy-docs-html
deploy:
needs: [build-docs]
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Download HTML doc artifact
uses: actions/download-artifact@v3
with:
name: geordpy-docs-html
path: docs_build
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: docs_build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1