add deployment file for 1000h
This commit is contained in:
23
.github/workflows/deploy-1000h.yml
vendored
Normal file
23
.github/workflows/deploy-1000h.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Deploy 1000h website
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
path:
|
||||
- "1000-hours/**"
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
path:
|
||||
- "1000-hours/**"
|
||||
jobs:
|
||||
deploy:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Deploy
|
||||
uses: cloudflare/wrangler-action@v3
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
workingDirectory: "1000-hours"
|
||||
Reference in New Issue
Block a user