Skip to content

Commit bb7d77c

Browse files
chore: update CI workflow to build website, upgrade Node.js and add Cloudflare deployment steps
1 parent 749c641 commit bb7d77c

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
name: Build Resume PDF
1+
name: Build website
22

33
on:
44
push:
55
branches:
66
- master
77

88
jobs:
9-
build-resume-pdf:
9+
build:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v5
1414
- name: Use Node.js 24
15-
uses: actions/setup-node@v3
15+
uses: actions/setup-node@v5
1616
with:
1717
node-version: 24.x
1818

@@ -29,6 +29,15 @@ jobs:
2929
CI: true
3030
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
3131

32+
- name: Build app bundle
33+
run: npm run build
34+
35+
- name: Build & Deploy Worker
36+
uses: cloudflare/wrangler-action@v3
37+
with:
38+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
39+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
40+
3241
- name: Create PDF at "files/resume.pdf"
3342
uses: mujo-code/[email protected]
3443
env:

0 commit comments

Comments
 (0)