diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-01-23 12:05:10 -0600 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-01-23 12:05:10 -0600 |
commit | ec02750aa416785516a39ceca385d1ea1b01041e (patch) | |
tree | 2aad3554aaa73df6fe88f014e82815c609564602 /.github/workflows/build.yaml | |
parent | Actually implement the toast (diff) | |
download | zorascript-ec02750aa416785516a39ceca385d1ea1b01041e.tar zorascript-ec02750aa416785516a39ceca385d1ea1b01041e.tar.gz zorascript-ec02750aa416785516a39ceca385d1ea1b01041e.tar.bz2 zorascript-ec02750aa416785516a39ceca385d1ea1b01041e.tar.lz zorascript-ec02750aa416785516a39ceca385d1ea1b01041e.tar.xz zorascript-ec02750aa416785516a39ceca385d1ea1b01041e.tar.zst zorascript-ec02750aa416785516a39ceca385d1ea1b01041e.zip |
Add dependabot
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/build.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4ea736b..2839098 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,8 +2,7 @@ name: Deploy SvelteKit page to GitHub Pages on: push: - branches: - - 'master' + pull_request: workflow_dispatch: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages @@ -37,13 +36,16 @@ jobs: run: pnpm -r install - name: Build the site run: pnpm -F zorascript-web build + - name: Upload Artifacts + if: ${{ github.ref == 'refs/heads/master' }} uses: actions/upload-pages-artifact@v2 with: # this should match the `pages` option in your adapter-static options path: 'clients/www/build/' deploy: + if: ${{ github.ref == 'refs/heads/master' }} needs: build runs-on: ubuntu-latest environment: |