ci: initial setup
This commit is contained in:
parent
28f6292740
commit
631e4eff64
15
.gitea/workflows/deploy.yaml
Normal file
15
.gitea/workflows/deploy.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user