Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 authored Oct 2, 2024
1 parent 8af75a8 commit 7d19db1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
types:
- completed

permissions:
checks: write
contents: read

jobs:
build:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
Expand Down Expand Up @@ -41,7 +45,8 @@ jobs:
docker run -d -p 5000:5000 --name registry registry:2
./${{ matrix.script }}
- name: Set Job Status
if: always()
uses: s4u/set-job-status-action@v1
with:
status: success # или 'failure'
status: ${{ job.status }}
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7d19db1

Please sign in to comment.