This commit is contained in:
parent
211d93bab2
commit
477907aa50
1 changed files with 31 additions and 0 deletions
31
.forgejo/workflows/deploy.yml
Normal file
31
.forgejo/workflows/deploy.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- mia
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
|
||||
- name: Setup Node
|
||||
uses: https://code.forgejo.org/actions/setup-node@v4
|
||||
with:
|
||||
node-version: "22"
|
||||
|
||||
- name: Setup Go
|
||||
uses: https://code.forgejo.org/actions/setup-go@v3
|
||||
with:
|
||||
go-version: "1.21"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Deploy
|
||||
uses: https://itsblue.dev/actions/codeberg-pages-deploy@v1
|
||||
with:
|
||||
folder: ./out
|
Loading…
Reference in a new issue