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 30, 2024
1 parent 4d25c83 commit 060db38
Show file tree
Hide file tree
Showing 6 changed files with 273 additions and 156 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy-website-cf-challenge-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 🚀 Deploy the CF challenge test website

on:
workflow_dispatch: {}
push:
branches: [rewrite] #[master, main] # TODO: change this
tags-ignore: ['**']
paths: [website/cf-challenge-test/**, .github/workflows/deploy-website-cf-challenge-test.yml]

concurrency:
group: ${{ github.ref }}-cf-challenge-test-website
cancel-in-progress: true

jobs:
publish:
name: 🚀 Publish the site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: cloudflare/wrangler-action@v3
env:
PROJECT_NAME: random-user-agent-cf-challenge-test
DIST_DIR: ./website/cf-challenge-test
CF_BRANCH_NAME: main # to deploy as "Production" environment on Cloudflare Pages
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_DEPLOY_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command:
pages deploy ${{ env.DIST_DIR }}
--project-name=${{ env.PROJECT_NAME }}
--branch ${{ env.CF_BRANCH_NAME }}
--commit-dirty=true
Loading

0 comments on commit 060db38

Please sign in to comment.