From 3083628f468926e13c52d61e5edbb14c8591f558 Mon Sep 17 00:00:00 2001 From: Sebastien DUMETZ Date: Wed, 7 Feb 2024 16:11:22 +0100 Subject: [PATCH] properly deploy on push over gh_pages instead of main ref --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 87a52453..dc77e75f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,12 +53,12 @@ jobs: --allow-missing-href=true --log-level :debug - name: Upload artifact - if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/gh_pages' }} uses: actions/upload-pages-artifact@v1 # Deployment job deploy: - if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/gh_pages' }} environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}