blob: 2d30f9efb1302344972154a7775369865a1e32b0 [file] [log] [blame]
on:
push:
paths:
- 'docs/*.md'
jobs:
upload_to_nightlies:
runs-on: ubuntu-latest
env:
INFILE: docs/ghactions-publish-rsync.md
OUTFILE: ghactions-publish-rsync.html
steps:
- uses: actions/checkout@master
- name: md_to_html
uses: docker://pandoc/core:2.9
with:
args: "--standalone --output=${{ env.OUTFILE }} ${{ env.INFILE }}"
- name: rsync
uses: burnett01/rsync-deployments@5.2
with:
switches: -avzr
path: /
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/infrastructure
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}