Skip to content

Commit 0629b53

Browse files
committed
OPS-3 fix deploy to staging
1 parent 34c41df commit 0629b53

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/build-backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build Backend
22

33
on:
44
push:
5-
paths: ["apps/backend/**", ".github/workflows/build-backend.yml"]
5+
#paths: ["apps/backend/**", ".github/workflows/build-backend.yml"]
66

77
env:
88
# kosli commands picks up org, flow, trail and api-token from these environment variables

.github/workflows/build-frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build Frontend
22

33
on:
44
push:
5-
paths: ["apps/frontend/**", ".github/workflows/build-frontend.yml"]
5+
#paths: ["apps/frontend/**", ".github/workflows/build-frontend.yml"]
66

77
env:
88
# kosli commands picks up org, flow, trail and api-token from these environment variables

.github/workflows/deploy-to-staging.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
# simulate-environment-reporting-staging.yml will start reporting that
2121
# this environment is now running.
2222
run: |
23-
if git rev-parse running-staging >/dev/null 2>&1; then \
24-
git tag -d running-staging; \
25-
git push --delete origin running-staging; \
23+
set -x
24+
if git rev-parse running-staging >/dev/null 2>&1; then
25+
git tag -d running-staging;
26+
git push --delete origin running-staging;
2627
fi
2728
git tag running-staging
2829
git push origin running-staging

0 commit comments

Comments
 (0)