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 }}