Skip to content

Commit

Permalink
Stage Release (#3043)
Browse files Browse the repository at this point in the history
Created by Github action

---------

Co-authored-by: Stuart Runyan <shrunyan@gmail.com>
  • Loading branch information
github-actions[bot] and shrunyan authored Oct 25, 2024
1 parent 987a4b9 commit 51ce943
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cd-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# with:
# project_id: zesty-prod
# - name: Set up Node
# uses: actions/setup-node@v2
# uses: actions/setup-node@v4.1.0
# with:
# node-version: "16.5.0"
# cache: "npm"
Expand Down Expand Up @@ -97,9 +97,12 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Retrive latest branches
run: git fetch origin

- name: Get origin branch list
run: |
echo "origin_branch_list=$(git branch -r --list origin/stable)" >> "$GITHUB_ENV"
echo "origin_branch_list=$(git branch -r --list origin/stable | xargs)" >> "$GITHUB_ENV"
- name: Ensure origin/stable branch exists
if: env.origin_branch_list != 'origin/stable'
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/cd-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
project_id: zesty-dev
- name: Set up Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4.1.0
with:
node-version: "16.5.0"
cache: "npm"
Expand Down Expand Up @@ -79,9 +79,12 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Retrive latest branches
run: git fetch origin

- name: Get origin branch list
run: |
echo "origin_branch_list=$(git branch -r --list origin/stage)" >> "$GITHUB_ENV"
echo "origin_branch_list=$(git branch -r --list origin/stage | xargs)" >> "$GITHUB_ENV"
- name: Ensure origin/stage branch exists
if: env.origin_branch_list != 'origin/stage'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/cd-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# with:
# project_id: zesty-prod
# - name: Set up Node
# uses: actions/setup-node@v2
# uses: actions/setup-node@v4.1.0
# with:
# node-version: "16.5.0"
# cache: "npm"
Expand All @@ -51,6 +51,8 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Retrive latest branches
run: git fetch origin
- name: Switch branch to stable
run: git checkout stable
- name: Get commit short hash
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/cd-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
project_id: zesty-stage
- name: Set up Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4.1.0
with:
node-version: "16.5.0"
cache: "npm"
Expand Down Expand Up @@ -87,9 +87,12 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Retrive latest branches
run: git fetch origin

- name: Get origin branch list
run: |
echo "origin_branch_list=$(git branch -r --list origin/beta)" >> "$GITHUB_ENV"
echo "origin_branch_list=$(git branch -r --list origin/beta | xargs)" >> "$GITHUB_ENV"
- name: Ensure origin/beta branch exists
if: env.origin_branch_list != 'origin/beta'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Delete Old Screenshots
run: gsutil rm gs://cypress_screenshots/* || true
- name: Set up Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4.1.0
with:
node-version: "16.5.0"
cache: "npm"
Expand Down

0 comments on commit 51ce943

Please sign in to comment.