blob: 14aebee233a96c3de7248272765b69bb3b3da348 [file] [log] [blame]
on: push
jobs:
upload_to_nightlies:
runs-on: ubuntu-18.04
env:
INFILE: ghactions-publishing.md
OUTFILE: ghactions-publishing.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: upload
run: |
cp $OUTFILE $OUTFILE.pub
curl --user ${{ secrets.NIGHTLIES_USER }}:${{ secrets.NIGHTLIES_TOKEN }} --upload-file $OUTFILE.pub https://nightlies.apache.org/ghactions-publishing.html