Skip to content

Commit

Permalink
Try staging cd
Browse files Browse the repository at this point in the history
  • Loading branch information
pkong-ds committed May 23, 2024
1 parent 81e4234 commit 5dc153f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set env to staging
run: |
if [[ "${{ github.ref_name }}" == "main" ]]; then
echo "ENV=dev" >> $GITHUB_ENV
echo "ENV=staging" >> $GITHUB_ENV
elif [[ "${{ github.ref_name }}" == "production" ]]; then
echo "ENV=production" >> $GITHUB_ENV
fi
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ PAGESHIP_API := https://api.pages.pandawork.com
ifeq ($(GITHUB_REF_NAME),production)
ENV ?= $(GITHUB_REF_NAME)
else
ENV ?= dev
ENV ?= staging
endif

ifeq (${ACTIONS_ID_TOKEN_REQUEST_URL},)
Expand Down

0 comments on commit 5dc153f

Please sign in to comment.