Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TimCsaky committed Oct 18, 2024
1 parent 5da5ac2 commit f222e39
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/deploy-to-environment/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:
run: >-
helm upgrade --install --debug --atomic ${{ inputs.job_name }} ${{ inputs.app_name }}
--namespace ${{ inputs.namespace_prefix }}-${{ inputs.namespace_environment }}
--repo https://timcsaky.github.io/common-object-management-service
--repo https://bcgov.github.io/common-object-management-service
--values ./.github/environments/values.${{ inputs.environment }}.yaml
--set image.repository=ghcr.io/$OWNER_LC
--set image.tag=sha-$(git rev-parse --short HEAD)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/on-pr-closed.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Pull Request Closed

env:
ACRONYM: migrate
ACRONYM: coms
APP_NAME: common-object-management-service
NAMESPACE_PREFIX: 1dca6b
NAMESPACE_PREFIX: bb17f9

on:
pull_request:
Expand All @@ -19,7 +19,7 @@ concurrency:
jobs:
remove-pr-dev:
name: Remove PR build from dev namespace
# if: "! github.event.pull_request.head.repo.fork"
if: "! github.event.pull_request.head.repo.fork"
environment:
name: pr
url: https://${{ env.ACRONYM }}-dev-pr-${{ github.event.number }}.apps.silver.devops.gov.bc.ca
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/on-pr-opened.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Pull Request Opened

env:
ACRONYM: migrate
ACRONYM: coms
APP_NAME: common-object-management-service
NAMESPACE_PREFIX: 1dca6b
NAMESPACE_PREFIX: bb17f9

on:
pull_request:
Expand All @@ -21,7 +21,7 @@ concurrency:
jobs:
build:
name: Build & Push
# if: "! github.event.pull_request.head.repo.fork"
if: "! github.event.pull_request.head.repo.fork"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-push.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Push

env:
ACRONYM: migrate
ACRONYM: coms
APP_NAME: common-object-management-service
NAMESPACE_PREFIX: 1dca6b
NAMESPACE_PREFIX: bb17f9

on:
push:
Expand Down

0 comments on commit f222e39

Please sign in to comment.