Added forgejo build and removed target
This commit is contained in:
parent
da72304428
commit
9cd2ed90e8
13 changed files with 26 additions and 935 deletions
26
.forgejo/workflows/publish.yaml
Normal file
26
.forgejo/workflows/publish.yaml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: docker
|
||||
env:
|
||||
NETLIFY_SITE_ID: da2ef727-4297-4fb9-8735-0cc2c6bef2b5
|
||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 21.1
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.23.2'
|
||||
- name: Build
|
||||
run: |
|
||||
make
|
||||
- name: Deploy
|
||||
run: |
|
||||
netlify deploy --dir target --prod
|
||||
Loading…
Add table
Add a link
Reference in a new issue