Skip to content

Commit

Permalink
wip: 🔕 temporary commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed Apr 28, 2024
1 parent b1e26db commit d922419
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy-website-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ jobs:
- uses: actions/checkout@v4

- uses: cloudflare/wrangler-action@v3
env: {PROJECT_NAME: random-user-agent-index, DIST_DIR: ./website/index}
env:
PROJECT_NAME: random-user-agent-index
DIST_DIR: ./website/index
ENVIRONMENT: prod # dev|staging|prod
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_DEPLOY_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
environment: prod # dev|staging|prod
command: pages deploy ${{ env.DIST_DIR }} --project-name=${{ env.PROJECT_NAME }} --commit-dirty=true
command: pages deploy ${{ env.DIST_DIR }} --project-name=${{ env.PROJECT_NAME }} --env ${{ env.ENVIRONMENT }} --commit-dirty=true
8 changes: 5 additions & 3 deletions .github/workflows/deploy-website-sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ jobs:
- uses: actions/checkout@v4

- uses: cloudflare/wrangler-action@v3
env: {PROJECT_NAME: random-user-agent-ua-test-sandbox, DIST_DIR: ./website/sandbox}
env:
PROJECT_NAME: random-user-agent-ua-test-sandbox
DIST_DIR: ./website/sandbox
ENVIRONMENT: prod # dev|staging|prod
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_DEPLOY_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
environment: prod # dev|staging|prod
command: pages deploy ${{ env.DIST_DIR }} --project-name=${{ env.PROJECT_NAME }} --commit-dirty=true
command: pages deploy ${{ env.DIST_DIR }} --project-name=${{ env.PROJECT_NAME }} --env ${{ env.ENVIRONMENT }} --commit-dirty=true

0 comments on commit d922419

Please sign in to comment.