[cicd] add forgejo action for build
Some checks failed
/ build-link (push) Successful in 6s
/ render-links (push) Failing after 33s
/ deploy (push) Failing after 16s

This commit is contained in:
SouthFox 2024-05-14 23:17:11 +08:00
parent 1b2a137089
commit 0b8dbcc7cf

View file

@ -0,0 +1,20 @@
on: [push]
jobs:
build-link:
steps:
- uses: actions/checkout@v3
- run: bash fix.sh
render-links:
container:
image: python:3.10.6
steps:
- run: pip install beautifulsoup4 lxml
- run: python soup.py
deploy:
steps:
- run: npm install -g wrangler
- run: npx wrangler pages deploy public --project-name garden --commit-dirty=true