Skip to content

Commit 08460e1

Browse files
committed
add more to cloudflare gha
1 parent 43ca234 commit 08460e1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,15 @@ jobs:
1414
with:
1515
cache: 'yarn'
1616
node-version: '24'
17+
- name: Build
18+
run: |
19+
yarn install
20+
yarn build
1721
- name: Deploy
1822
uses: cloudflare/wrangler-action@v3
1923
with:
2024
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
2125
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
22-
command: pages deploy YOUR_DIST_FOLDER --project-name=example
26+
command: pages deploy public --project-name=rescript-lang.org
2327
# Optional: Enable this if you want to have GitHub Deployments triggered
2428
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)