[cicd] add forgejo action for build
Some checks failed
/ deploy (push) Failing after 8s

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

View file

@ -0,0 +1,25 @@
on: [push]
jobs:
deploy:
runs-on: docker
env:
CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
steps:
- uses: actions/checkout@v3
- run: bash fix.sh
- uses: actions/setup-python@v4
with:
python-version: '3.10.14'
platform: linux
env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
- run: pip install beautifulsoup4 lxml
- run: python soup.py
- run: npm install -g wrangler
- run: npx wrangler pages deploy public --project-name garden --commit-dirty=true