-
Notifications
You must be signed in to change notification settings - Fork 4
33 lines (28 loc) · 869 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Build
on:
push:
jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
deployments: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
run_install: true
- name: Build
run: pnpm build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: b1c3d1b89f9131a84a0f1f6a973232f1
projectName: hermes
directory: .svelte-kit/cloudflare
gitHubToken: ${{ secrets.GITHUB_TOKEN }}