Skip to content

Commit

Permalink
fix: ipfs deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
L03TJ3 committed Dec 17, 2023
1 parent e8e8e33 commit 3670b78
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/deploy_ipfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:
needs: bump_version
if: ${{ needs.bump_version.outputs.new_tag != null }}
steps:
# - name: Pre-checks - Env is Dev
# run: |
# echo "ENV=development" >> $GITHUB_ENV
# echo "SECRET_NAME=DEV_ENV" >> $GITHUB_ENV
- name: Pre-checks - Env is Dev
run: |
echo "ENV=development" >> $GITHUB_ENV
echo "SECRET_NAME=DEV_ENV" >> $GITHUB_ENV
# - name: Pre-checks - Env is QA
# if: ${{ endsWith(github.ref, '/staging') }}
# run: |
# echo "ENV=staging" >> $GITHUB_ENV
# echo "SECRET_NAME=STAGING_ENV" >> $GITHUB_ENV
- name: Pre-checks - Env is QA
if: ${{ endsWith(github.ref, '/staging') }}
run: |
echo "ENV=staging" >> $GITHUB_ENV
echo "SECRET_NAME=STAGING_ENV" >> $GITHUB_ENV
- name: Pre-checks - Env is PRODUCTION
if: ${{ endsWith(github.ref, '/production') }}
Expand All @@ -60,7 +60,7 @@ jobs:
secret_name="${{ env.SECRET_NAME }}"
echo $env_name
cat env/shared
cat $dotenv_name
cat env/production
echo "setting environment from $dotenv_name"
cp env/shared .env
cat $dotenv_name >> .env
Expand Down

0 comments on commit 3670b78

Please sign in to comment.