Skip to content

Commit b64c919

Browse files
committed
Justering i referanser
1 parent 9e33957 commit b64c919

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/buildAndPublish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ jobs:
148148
if: ${{ (github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'main') || github.ref_name == 'main' }}
149149
uses: navikt/sf-platform/.github/actions/generateReleaseDefinition@main
150150
with:
151-
branchToCommitTo: ${{ github.ref }}
152-
gitRef: ${{ github.ref }}
151+
branchToCommitTo: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_branch || github.ref_name }}
152+
gitRef: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_sha || github.sha }}
153153
pathToConfigFile: config/releaseConfig.yml
154154
releaseName: ${{ steps.generate_name.outputs.releaseName }}
155-
directory: "relese-definition"
155+
directory: "release-definition"
156156

157157
- name: Upload artifacts and logs
158158
uses: navikt/sf-platform/.github/actions/uploadWorkflowArtifactsAndLogs@main

0 commit comments

Comments
 (0)