Skip to content

Commit

Permalink
Prepare for liftoff
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Richard committed May 9, 2024
1 parent d7038a3 commit 338c67f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tbd-cms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
deploy:
needs: test-build
# Siwtch to refs/heads/main when merged
if: github.ref == 'refs/heads/refactor/the-great-cms-migration'
if: github.ref == 'refs/heads/refactor/main'
runs-on: ubuntu-latest
concurrency:
group: cms-deploy
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/tbd-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
SANITY_TOKEN: ${{ secrets.SANITY_TOKEN }}
SANITY_WEBHOOK_SECRET: ${{ secrets.SANITY_WEBHOOK_SECRET }}
- name: Upload search build
# Switch to 'refs/heads/main' when merged
if: github.ref == 'refs/heads/refactor/the-great-cms-migration' || github.event_name == 'pull_request'
# Let non-Dependabot branches and PRs do a preview deploy
if: (github.ref_type == 'branch' && !startsWith(github.ref_name , 'dependabot')) || github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: search
Expand All @@ -67,9 +67,6 @@ jobs:
- name: Set Channel ID - Branch
if: github.ref_type == 'branch'
run: echo "CHANNEL_ID=branch-${{ github.ref_name }}" >> $GITHUB_ENV
- name: Set Channel ID - Next
if: github.ref == 'refs/heads/refactor/the-great-cms-migration'
run: echo "CHANNEL_ID=next" >> $GITHUB_ENV
- name: Set Channel ID - Live
if: github.ref == 'refs/heads/main'
run: echo "CHANNEL_ID=live" >> $GITHUB_ENV
Expand Down

0 comments on commit 338c67f

Please sign in to comment.