Skip to content

Commit

Permalink
ci: ensure dispatch of infrastructure works similar as dispatch of ap…
Browse files Browse the repository at this point in the history
…ps (#952)

<!--- Provide a general summary of your changes in the Title above -->

## Description
Using the same input type as dispatching of apps. Later we need to
separate between version and ref to ensure we can hot-deploy to staging
without needing a git-tag
<!--- Describe your changes in detail -->

## Related Issue(s)

- #{issue number}

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
  • Loading branch information
arealmaas authored Jul 31, 2024
1 parent 22d00d0 commit de2dfb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dispatch-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- staging
- prod
version:
description: "Version to deploy"
description: "Version to deploy (exclude the v prefix)"
required: true
type: string
runMigration:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dispatch-infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- staging
- prod
version:
description: "Version to deploy. Needs to be a git tag"
description: "Version to deploy. Needs to be a git tag (exclude the v prefix)"
required: true
type: string

Expand All @@ -40,4 +40,4 @@ jobs:
environment: ${{ inputs.environment }}
region: norwayeast
version: ${{ inputs.version }}
ref: "refs/tags/${{ inputs.version }}"
ref: "refs/tags/v${{ inputs.version }}"

0 comments on commit de2dfb0

Please sign in to comment.