ci(build.yaml): add a guard step to skip builds for PRs targeting master or dev branches
All checks were successful
Build and Deploy Zola Website / build_and_deploy (push) Successful in 17s
All checks were successful
Build and Deploy Zola Website / build_and_deploy (push) Successful in 17s
This commit is contained in:
@@ -4,6 +4,9 @@ on: pull_request
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# Skip if PR base is master/dev
|
||||
if: github.base_ref != 'master' && github.base_ref != 'dev'
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
Reference in New Issue
Block a user