Skip to content

Commit

Permalink
ci: fix main branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
microHoffman committed Nov 30, 2024
1 parent 646a38e commit 474ebbd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- "master"
- "main"

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
Expand All @@ -16,7 +16,7 @@ jobs:
- name: Determine environment file
shell: bash
run: |
if [ "$BRANCH_NAME" = "master" ]; then
if [ "$BRANCH_NAME" = "main" ]; then
echo "ENV_FILE=.env.app.production" >> $GITHUB_ENV
echo "BUILD_COMMAND=bun run build-prod" >> $GITHUB_ENV
echo "ENABLED_CHAIN_IDS=1" >> $GITHUB_ENV
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:

# TODO make this work!
# - name: Deploy to IPFS
# if: ${{ env.BRANCH_NAME }} == 'master'
# if: ${{ env.BRANCH_NAME }} == 'main'
# uses: web3-storage/add-to-web3@v3
# id: deploy-ipfs
# with:
Expand All @@ -96,7 +96,7 @@ jobs:
# secret_key: ${{ secrets.WEB3_STORAGE_KEY }}

# - name: Update DNSLink
# if: ${{ env.BRANCH_NAME }} == 'master'
# if: ${{ env.BRANCH_NAME }} == 'main'
# env:
# CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
# CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
Expand Down

0 comments on commit 474ebbd

Please sign in to comment.