mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-12-22 05:02:21 +01:00
.github/workflows/pages.yml: adjust branches
Run Python job steps on all branches, but only push to GitHub pages from main. See: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions See: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
This commit is contained in:
parent
22b78ea149
commit
4e92f0b8cd
3
.github/workflows/pages.yml
vendored
3
.github/workflows/pages.yml
vendored
@ -2,8 +2,6 @@ name: Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
parse:
|
||||
@ -22,6 +20,7 @@ jobs:
|
||||
run: poetry --version
|
||||
pages:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.ref_name == 'main' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Deploy
|
||||
|
Loading…
Reference in New Issue
Block a user