Skip to content

Commit

Permalink
Merge pull request #37 from modern-sapien/checkly-implementation
Browse files Browse the repository at this point in the history
ref was coming back not as a ref/branch/something, but just as one word.
  • Loading branch information
modern-sapien authored May 17, 2023
2 parents 4b86925 + c26c63a commit 47d5d07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checkly-fail-safe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ jobs:
- name: Set Environment Variables
run: |
echo "GitHub Ref: ${{ github.ref }}"
if [ ${{ github.ref }} = 'refs/heads/main' ]; then
if [ ${{ github.ref }} = 'main' ]; then
echo "Setting NEXT_PUBLIC_NODE_ENV=production"
echo "NEXT_PUBLIC_NODE_ENV=production" >> $GITHUB_ENV
elif [ ${{ github.ref }} = 'refs/heads/staging' ]; then
elif [ ${{ github.ref }} = 'staging' ]; then
echo "Setting NEXT_PUBLIC_NODE_ENV=staging"
echo "NEXT_PUBLIC_NODE_ENV=staging" >> $GITHUB_ENV
else
Expand All @@ -87,7 +87,7 @@ jobs:
- name: Print Environment Variables
run: |
echo "NEXT_PUBLIC_NODE_ENV=${{ env.NEXT_PUBLIC_NODE_ENV }}"
echo "ENVIRONMENT_URL=${{ env.ENVIRONMENT_URL }}"
echo "NEXT_PUBLIC_ENVIRONMENT_URL=${{ env.ENVIRONMENT_URL }}"
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Restore or cache node_modules
Expand Down

2 comments on commit 47d5d07

@vercel
Copy link

@vercel vercel bot commented on 47d5d07 May 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-danube-webshop – ./next-webstore

next-danube-webshop-modern-sapien.vercel.app
next-danube-webshop-git-main-modern-sapien.vercel.app
next-danube-webshop.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 47d5d07 May 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.