ode_to_snack/.forgejo/workflows/deploy.yml
Gnarwhal 477907aa50
Some checks failed
/ deploy (push) Has been cancelled
Added forgejo actions workflow
2024-08-06 17:52:27 +00:00

31 lines
645 B
YAML

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