Add woodpecker support
This commit is contained in:
parent
5d7c4bcee8
commit
af1534eaee
|
@ -1,22 +0,0 @@
|
|||
name: Gitea actions
|
||||
run-name: ${{ gitub.actor }}
|
||||
on: [push]
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 'latest'
|
||||
- run: pip3 install screenplain
|
||||
- run: pip3 install 'screenplain[PDF]'
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: screenplain
|
||||
key: ${{ runner.os }}-screenplain
|
||||
- run: actions/checkout@v4
|
||||
- run: mkdir ScreenPlay
|
||||
- run: screenplain holyloop.fountain ScreenPlay/holyloop.pdf
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
path: ScreenPlay
|
|
@ -0,0 +1,8 @@
|
|||
steps:
|
||||
- name: build
|
||||
image: screenplain:latest
|
||||
when:
|
||||
event: push
|
||||
branch: main
|
||||
commands:
|
||||
- screenplain holyloop.fountain holyloop.pdf
|
|
@ -0,0 +1,10 @@
|
|||
steps:
|
||||
- name: deploy
|
||||
image: screenplain:latest
|
||||
when:
|
||||
event: push
|
||||
branch: main
|
||||
commands:
|
||||
- bash .woodpecker/publish.sh
|
||||
volumes:
|
||||
- /mnt/20TB/Artifacts:/deploy_dir
|
|
@ -0,0 +1,3 @@
|
|||
. /deploy_dir/setpath.sh
|
||||
ln -s "$DEPLOY_DIR" publish
|
||||
screenplain holyloop.fountain publish/holyloop.pdf
|
Loading…
Reference in New Issue