From 792985b8d87a6f6bd497bc71df13318963670d10 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 21 Mar 2022 02:31:41 +0100 Subject: [PATCH] GitHub Actions: Deploy on scheduled or manual runs --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea2d563..289c41f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - name: Deploy to GitHub Pages 🚀 uses: JamesIves/github-pages-deploy-action@releases/v3 # Only deploy from the `master` branch, and never deploy from pull requests. - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/master' }} with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The branch the action should deploy to.