chore: adjust ci trigger

This commit is contained in:
DarkSky
2022-12-18 00:11:38 +08:00
parent 62740262ec
commit 56074417c4
4 changed files with 10 additions and 10 deletions

View File

@@ -2,9 +2,9 @@ name: Build Pathfinder LiveDemo Version
on:
push:
branches: [pathfinder]
branches: [master]
pull_request:
branches: [pathfinder]
branches: [master]
# Cancels all previous workflow runs for pull requests that have not completed.
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
@@ -72,7 +72,7 @@ jobs:
push_to_registry:
# See https://docs.github.com/en/actions/publishing-packages/publishing-docker-images
name: Push Docker image to Docker Hub
if: github.ref == 'refs/heads/pathfinder'
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
needs: build