Skip to content

Commit

Permalink
fix: don't use app project for explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
cor committed Nov 26, 2024
1 parent f89b441 commit 958a7f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-explorer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
pull-requests: write
env:
npm_config_yes: true
environment: 'app-preview'
environment: 'explorer-preview'
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
Expand All @@ -74,23 +74,23 @@ jobs:
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
run: npx --yes wrangler@latest pages --project-name="app" deploy result >> /tmp/app_deploy.txt
run: npx --yes wrangler@latest pages --project-name="explorer-testnet-9" deploy result >> /tmp/explorer_deploy.txt
- name: Set Deploy Output
run: |
{
echo 'DEPLOY_OUTPUT<<EOF'
tail -n 2 /tmp/app_deploy.txt
tail -n 2 /tmp/explorer_deploy.txt
echo 'EOF'
} >> $GITHUB_ENV
- name: Comment Site Deploy Results
uses: thollander/actions-comment-pull-request@v2
with:
message: |
# App 🤌
# Explorer 🔎
${{ env.DEPLOY_OUTPUT }}
**${{ env.LAST_UPDATED_AT }}**
comment_tag: deploy-app-preview-result
comment_tag: deploy-explorer-preview-result

deploy-production:
runs-on: 'ubuntu-latest'
Expand Down

0 comments on commit 958a7f3

Please sign in to comment.