[cicd] add forgejo action for build
This commit is contained in:
parent
1b2a137089
commit
63bb551d55
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/publish.yml
Normal file
20
.forgejo/workflows/publish.yml
Normal 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
|
||||||
|
commands:
|
||||||
|
- pip install beautifulsoup4 lxml
|
||||||
|
- python soup.py
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
steps:
|
||||||
|
- run: npm install -g wrangler
|
||||||
|
- run: npx wrangler pages deploy public --project-name garden --commit-dirty=true
|
||||||
|
|
Loading…
Reference in a new issue