ci: initial setup

This commit is contained in:
rizaldy 2024-02-12 15:16:50 +07:00
parent 28f6292740
commit 631e4eff64

View File

@ -0,0 +1,15 @@
name: deploy
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: npm ci
- run: npm run build
- run: npx wrangler pages deploy out --project-name=$CF_PROJECT_NAME --branch=$GITHUB_REF_NAME