From 5b3d2d38c7cc7a1e871929536f79cca40180e2fd Mon Sep 17 00:00:00 2001 From: Erik Fasterius Date: Wed, 16 Oct 2024 16:48:58 +0200 Subject: [PATCH] Add `git` to publish environment --- .github/workflows/publish.yml | 4 ++-- env/publish/environment.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8d82c196..3d2fc332 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,7 @@ name: Render and publish site on: + workflow_dispatch: push: branches: - main @@ -17,10 +18,9 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Deploy on GitHub Pages + - name: Publish to GitHub Pages uses: quarto-dev/quarto-actions/publish@v2 with: target: gh-pages - render: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/env/publish/environment.yml b/env/publish/environment.yml index e013875c..c4ae7926 100644 --- a/env/publish/environment.yml +++ b/env/publish/environment.yml @@ -4,6 +4,7 @@ channels: dependencies: # Command line + - git - snakemake-minimal # R