Skip to content

Commit

Permalink
fix(cd): event condition
Browse files Browse the repository at this point in the history
  • Loading branch information
2paperstar committed Oct 17, 2023
1 parent f2f7f95 commit cdc1205
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build & Deploy Production

on:
create:
push:
tags:
- v*
- 'v*'

jobs:
build:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build & Deploy Staging

on:
push:
branch:
branches:
- master

jobs:
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set version ENV, and commit
run: |
VERSIONS_FILE_PATH=apps/mail/ziggle-backend-stg/versions.env
source $VERSIONS_FILE_PATH
BACKEND_TAG="${GITHUB_REF_NAME}_${GITHUB_SHA}"
cat <<EOF > $VERSIONS_FILE_PATH
Expand All @@ -50,4 +50,4 @@ jobs:
with:
ssh: true
repository: gsainfoteam/infoteam-infra
branch: master
branch: master

0 comments on commit cdc1205

Please sign in to comment.