fix: pages action remove branch filter

迁移到新仓库分支从main改成master了

Log:
This commit is contained in:
myml 2023-02-15 14:19:55 +08:00 committed by xzl
parent 04ab9e9c99
commit bc30fd3ab9

View File

@ -1,9 +1,7 @@
name: Deploy to GitHub Pages
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
@ -36,7 +34,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push'
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}