Skip to content

Commit

Permalink
la publish være avhengig av grønne tester
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsteinsland committed Jan 8, 2024
1 parent 0811940 commit 27bd144
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: publish artifacts
on:
push:
branches:
- main
workflow_run:
workflows: ["build and test"]
branches: [main]
types:
- completed
jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }} # kjører kun dersom 'build and test' gikk grønt
permissions:
packages: write
contents: read
Expand Down

0 comments on commit 27bd144

Please sign in to comment.