We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d8012f + c703bbc commit 54496f4Copy full SHA for 54496f4
4 files changed
.github/workflows/deploy.yml
@@ -0,0 +1,30 @@
1
+name: Deploy Processing Website
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ workflow_dispatch:
7
8
+permissions:
9
+ contents: read
10
+ id-token: write
11
12
+jobs:
13
+ build-deploy:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: Use Node.js 22
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: 22
21
+ - name: Install dependencies
22
+ run: npm install
23
+ - name: Build website
24
+ run: npm run build
25
+ - name: Deploy to Cloudflare Workers
26
+ uses: cloudflare/wrangler-action@v4
27
28
+ apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
29
+ accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
30
0 commit comments