This commit is contained in:
parent
5bbc234380
commit
4b93cb7ea5
1 changed files with 7 additions and 12 deletions
|
@ -4,18 +4,13 @@ on:
|
|||
- push
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: slides-maker
|
||||
steps:
|
||||
- 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:
|
||||
generate-pdf: true
|
||||
- uses: burnett01/rsync-deployments@6.0.0
|
||||
with:
|
||||
switches: -avz --delete
|
||||
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
|
||||
files: slides.pdf
|
||||
md5sum: true
|
||||
token: ${secrets.APITOKEN_RELEASE}
|
||||
prerelease: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue