Skip to content

Commit b59aefc

Browse files
committed
FIX: fix cd workflow
1 parent 33ee954 commit b59aefc

File tree

3 files changed

+9
-39
lines changed

3 files changed

+9
-39
lines changed

.github/workflows/auto-delete-merged-branches.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/cd-workflow.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: Deploy backstage
33
on:
44
workflow_run:
5-
workflows: ["CI Workflow"]
5+
workflows:
6+
- CI Workflow
67
types:
78
- completed
89

@@ -26,16 +27,16 @@ jobs:
2627
- id: 'docker-buildx-setup'
2728
name: Set up Docker Buildx
2829
uses: docker/setup-buildx-action@v3
29-
- id: 'auth'
30-
name: 'Authenticate to Google Cloud'
30+
- name: 'Authenticate to Google Cloud'
31+
id: 'auth'
3132
uses: 'google-github-actions/auth@v2'
3233
with:
3334
create_credentials_file: true
34-
token_format: access_token
35+
token_format: "access_token"
3536
workload_identity_provider: 'projects/1006240973223/locations/global/workloadIdentityPools/deploy-backstage/providers/github-actions'
3637
service_account: '[email protected]'
37-
- id: 'login-gar'
38-
name: "Login to GAR"
38+
- name: "Login to GAR"
39+
id: 'login-gar'
3940
uses: docker/login-action@v3
4041
with:
4142
registry: europe-west10-docker.pkg.dev/code-idp/backstage-deploy

.github/workflows/ci-workflow.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: CI Workflow
33
on:
44
push:
55
branches:
6-
- '**'
6+
- main
77
pull_request:
88
branches:
9-
- '**'
9+
- main
1010

1111
jobs:
1212
setup_and_test:

0 commit comments

Comments
 (0)