Skip to content

Commit

Permalink
Run GH action on PR instead of push
Browse files Browse the repository at this point in the history
  • Loading branch information
k-burt-uch authored Aug 29, 2024
1 parent 5d994c7 commit 1c6f669
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/hugo_ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Hugo Build and Deploy

on: push
on:
pull_request:
types: [opened, reopened, closed]
branches:
- 'master'

env:
BASE_URL: ${{ (github.ref == 'refs/heads/master' && 'gen3.org') || 'alpha.gen3.org' }}
Expand Down

0 comments on commit 1c6f669

Please sign in to comment.