This commit is contained in:
parent
1b2a137089
commit
0e813ce6f0
1 changed files with 29 additions and 0 deletions
29
.forgejo/workflows/publish.yml
Normal file
29
.forgejo/workflows/publish.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: ubuntu:22.04
|
||||
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'
|
||||
|
||||
|
||||
- run: pip install beautifulsoup4 lxml
|
||||
- run: python soup.py
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
|
||||
- run: npm install -g wrangler
|
||||
- run: npx wrangler pages deploy public --project-name garden --commit-dirty=true
|
Loading…
Reference in a new issue