Trigger the pipeline only when *.example, *.js, or *.sh files are modified on the master branch
This commit is contained in:
parent
f4c7d5ff64
commit
7512d30dc3
6
.github/workflows/build-and-release.yml
vendored
6
.github/workflows/build-and-release.yml
vendored
@ -4,6 +4,10 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "master"
|
- "master"
|
||||||
|
paths:
|
||||||
|
- '**/*.example'
|
||||||
|
- '**/*.js'
|
||||||
|
- '**/*.sh'
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * 0"
|
- cron: "0 0 * * 0"
|
||||||
|
|
||||||
@ -32,4 +36,4 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
sha: ${{ github.sha }}
|
sha: ${{ github.sha }}
|
||||||
run: |
|
run: |
|
||||||
gh release create "$(date '+%Y-%m-%d-')${sha:0:7}" --generate-notes ./proxy.pac
|
gh release create "$(date '+%Y-%m-%d-')${sha:0:7}" --generate-notes ./proxy.pac
|
Loading…
Reference in New Issue
Block a user