This commit is contained in:
parent
5bbc234380
commit
4b93cb7ea5
1 changed files with 7 additions and 12 deletions
|
@ -4,18 +4,13 @@ on:
|
||||||
- push
|
- push
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: slides-maker
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: KoharaKazuya/marp-cli-action@v2
|
- run: npm --prefix /app exec marp -- --config /etc/marprc --pdf slides.md
|
||||||
|
- uses: actions/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
generate-pdf: true
|
files: slides.pdf
|
||||||
- uses: burnett01/rsync-deployments@6.0.0
|
md5sum: true
|
||||||
with:
|
token: ${secrets.APITOKEN_RELEASE}
|
||||||
switches: -avz --delete
|
prerelease: true
|
||||||
path: "slides.pdf"
|
|
||||||
remote_host: ${{ secrets.REMOTE_HOST }}
|
|
||||||
remote_port: ${{ secrets.REMOTE_PORT }}
|
|
||||||
remote_user: ${{ secrets.REMOTE_USER }}
|
|
||||||
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
||||||
remote_path: /srv/http/hugo/downloads/pveenthome.pdf
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue