Skip to content

Commit

Permalink
Gi nytt navn til action
Browse files Browse the repository at this point in the history
  • Loading branch information
torhakon committed Dec 28, 2024
1 parent 44a1c64 commit 262b55a
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
name: "MAIN - Build and Publish"
name: "Build and Publish"
on:
workflow_run:
workflows: ["Run static code validation"]
types:
- completed
branches:
- main
jobs:
buildAndPublish:
name: Build and Publish
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
container: ghcr.io/flxbl-io/sfp:latest
container: ghcr.io/flxbl-io/sfp:${{ vars.SFP_CONTAINER_VERSION }}
permissions:
contents: write
packages: write
Expand All @@ -21,6 +20,7 @@ jobs:
fetch-depth: 0

- uses: navikt/sf-platform/.github/actions/authenticateNode@main
if: ${{ github.ref_name == 'refs/heads/main' }}

- uses: navikt/sf-platform/.github/actions/authenticateOrg@main
with:
Expand All @@ -37,7 +37,13 @@ jobs:

- uses: navikt/sf-platform/.github/actions/build@main

# - uses: navikt/sf-platform/.github/actions/publishArtifact@main
# if: ${{ github.ref_name == 'refs/heads/main' }}
# with:
# nodeToken: ${{ secrets.GITHUB_TOKEN }}

- uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@main
if: always()
with:
artifactName: "build-artifacts"
uploadArtifacts: true
Expand Down

0 comments on commit 262b55a

Please sign in to comment.