We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 383f351 commit 2c12536Copy full SHA for 2c12536
.github/workflows/deploy.yml
@@ -0,0 +1,28 @@
1
+name: Deploy to Cloudflare Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v3
15
16
+ - name: Set up Node.js
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: 16
20
21
+ - name: Install Cloudflare Pages CLI
22
+ run: npm install -g @cloudflare/wrangler
23
24
+ - name: Deploy to Cloudflare Pages
25
+ run: |
26
+ wrangler pages publish . --project-name=justbibtex
27
+ env:
28
+ CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
0 commit comments