Skip to content

[WIP] Test using different GHA for publishing #21

[WIP] Test using different GHA for publishing

[WIP] Test using different GHA for publishing #21

Workflow file for this run

name: Render and publish site
on:
workflow_dispatch:
push:
branches:
- main
- specky
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/nbisweden/workshop-reproducible-research/publish:specky
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build website with Quarto
uses: quarto-dev/quarto-actions/render@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'docs/'
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: gh-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4