set up new workflow and migrate to .forgejo dir
Some checks failed
PR Gate / Checks (pull_request) Failing after 17s
Some checks failed
PR Gate / Checks (pull_request) Failing after 17s
This commit is contained in:
parent
c37955c51b
commit
00006a013d
5 changed files with 29 additions and 2 deletions
25
.forgejo/workflows/deploy.yml
Normal file
25
.forgejo/workflows/deploy.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- uses: pnpm/setup@v1
|
||||
with:
|
||||
version: 11
|
||||
runtime: node@24
|
||||
cache: true
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
- name: Deploy to Netlify
|
||||
run: npx -y netlify-cli deploy --prod --dir=build
|
||||
env:
|
||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue