diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 6ec0a2e..6221bac 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -14,6 +14,7 @@ on: push: branches: - master + - hugo # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -77,14 +78,15 @@ jobs: # Deployment job deploy: - if: | - github.event.push.ref == 'refs/heads/master' + # if: | + # github.event.push.ref == 'refs/heads/master' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build steps: + - run: echo ${{ github.event }} - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2