ode_to_snack/.forgejo/workflows/deploy.yml

33 lines
670 B
YAML
Raw Normal View History

2024-08-06 16:48:36 +00:00
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
2024-09-26 21:35:11 +00:00
uses: https://forge.monodon.me/pages/codeberg-pages-deploy@v1
2024-08-06 16:48:36 +00:00
with:
folder: ./out
2024-09-26 21:35:11 +00:00
force: true