Update web-deploy.yml
This commit is contained in:
parent
4c5a078767
commit
88e3486bad
1 changed files with 12 additions and 0 deletions
12
.github/workflows/web-deploy.yml
vendored
12
.github/workflows/web-deploy.yml
vendored
|
|
@ -15,8 +15,20 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- web/**
|
- web/**
|
||||||
jobs:
|
jobs:
|
||||||
|
pr-validation:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
runs-on: ['self-hosted', 'pi']
|
||||||
|
steps:
|
||||||
|
- uses: TimonVS/pr-labeler-action@v5
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
configuration-path: .github/configs/pr-labeler-configuration.yml
|
||||||
build:
|
build:
|
||||||
environment: dev
|
environment: dev
|
||||||
|
needs: pr-validation
|
||||||
|
if: always() && needs.pr-validation.result == 'success'
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue