mirror of
https://github.com/morris/vanilla-todo.git
synced 2025-09-01 01:51:53 +02:00
fix #13
This commit is contained in:
10
.github/workflows/pipeline.yml
vendored
10
.github/workflows/pipeline.yml
vendored
@@ -1,12 +1,9 @@
|
|||||||
name: Pipeline
|
name: Pipeline
|
||||||
|
|
||||||
on:
|
on: push
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checks:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -23,7 +20,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
deploy:
|
deploy:
|
||||||
needs: checks
|
if: github.ref == 'refs/heads/main'
|
||||||
|
needs: check
|
||||||
permissions:
|
permissions:
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
Reference in New Issue
Block a user