diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml deleted file mode 100644 index ae2ed64..0000000 --- a/.gitea/workflows/build.yaml +++ /dev/null @@ -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 diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml new file mode 100644 index 0000000..b28e2eb --- /dev/null +++ b/.woodpecker/.build.yml @@ -0,0 +1,8 @@ +steps: + - name: build + image: screenplain:latest + when: + event: push + branch: main + commands: + - screenplain holyloop.fountain holyloop.pdf \ No newline at end of file diff --git a/.woodpecker/.deploy.yml b/.woodpecker/.deploy.yml new file mode 100644 index 0000000..a2613ad --- /dev/null +++ b/.woodpecker/.deploy.yml @@ -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 \ No newline at end of file diff --git a/.woodpecker/publish.sh b/.woodpecker/publish.sh new file mode 100644 index 0000000..3038919 --- /dev/null +++ b/.woodpecker/publish.sh @@ -0,0 +1,3 @@ +. /deploy_dir/setpath.sh +ln -s "$DEPLOY_DIR" publish +screenplain holyloop.fountain publish/holyloop.pdf \ No newline at end of file diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..20a1953 --- /dev/null +++ b/update.sh @@ -0,0 +1,4 @@ +git commit -am "$1" +git push --all +git tag -a `date +%Y%m%d_%H%M%S` -m "$1" +git push --tags \ No newline at end of file