Skip to content

Commit

Permalink
[WIP] Test using different GHA for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterius committed Oct 18, 2024
1 parent 5b3d2d3 commit f10d57a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 8 deletions.
35 changes: 27 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,39 @@ on:
- main
- specky

concurrency:
group: pages
cancel-in-progress: true

jobs:
publish:

build:
runs-on: ubuntu-latest
container: ghcr.io/nbisweden/workshop-reproducible-research/publish:specky
permissions:
contents: write
steps:

- name: Checkout
uses: actions/checkout@v4

- name: Publish to GitHub Pages
uses: quarto-dev/quarto-actions/publish@v2
- name: Build website with Quarto
uses: quarto-dev/quarto-actions/render@v2

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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
2 changes: 2 additions & 0 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ execute:
#### NBIS / Elixir workshop
## [**Tools for Reproducible Research**]{.large}

TEST

How to work reproducibly with control and structuring of project code,
environment and workflow management

Expand Down

0 comments on commit f10d57a

Please sign in to comment.