Skip to content

Commit 48a85f8

Browse files
committed
[ci] ok back to the old way
1 parent d906a77 commit 48a85f8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,14 @@ permissions:
44
id-token: write
55

66
on:
7-
push:
8-
branches: [main]
9-
pull_request:
10-
branches: [main]
117
workflow_call:
128

139
env:
1410
BACKEND_IMAGE_REF: us-west1-docker.pkg.dev/${{ secrets.GCP_PROJECT_SLUG }}/firetower-docker/firetower:${{ github.sha }}
1511
STATIC_IMAGE_REF: us-west1-docker.pkg.dev/${{ secrets.GCP_PROJECT_SLUG }}/firetower-docker/nginx:${{ github.sha }}
1612

1713
jobs:
18-
ci:
19-
uses: ./.github/workflows/ci.yml
2014
build:
21-
needs: [ci]
2215
runs-on: ubuntu-latest
2316
steps:
2417
- name: Checkout code

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: CI
22

33
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
48
workflow_call:
59

610
jobs:

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ env:
1919
STATIC_IMAGE_REF: us-west1-docker.pkg.dev/${{ secrets.GCP_PROJECT_SLUG }}/firetower-docker/nginx:${{ github.sha }}
2020

2121
jobs:
22+
build:
23+
uses: ./.github/workflows/build.yml
2224
deploy:
25+
needs: [build]
2326
runs-on: ubuntu-latest
2427
steps:
2528
- name: Checkout code

0 commit comments

Comments
 (0)