Skip to content

chore: update test repo code #28

chore: update test repo code

chore: update test repo code #28

Workflow file for this run

name: Deploy
on:
workflow_run:
workflows: ["Generate catalog"]
types:
- completed
push:
branches: [main, dev]
defaults:
run:
shell: bash -leo pipefail {0}
jobs:
deploy:
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment.yml
init-shell: >-
bash
cache-environment: true
post-cleanup: "all"
- name: Building
run: make html
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "build/html"
- name: Deploy artifact
id: deployment
uses: actions/deploy-pages@v4