blob: f4ca7717166adecd425963f18f852c6fe5eed145 [file] [log] [blame]
on: push
jobs:
md_to_html:
runs-on: ubuntu-18.04
env:
INFILE: /ghactions-publishing.md
steps:
- uses: actions/checkout@master
- uses: docker://pandoc/core:2.9
with:
args: >-
--standalone
--output=ghactions-publishing.html
${{ env.INFILE }}
curl:
runs-on: ubuntu-latest
needs: md_to_html
steps:
- uses: actions/checkout@master
- name: curl
uses: wei/curl@v1
with:
args: --user ${{ secrets.NIGHTLIES_USER }}:${{ secrets.NIGHTLIES_TOKEN }} --upload-file .github/workflows/nightlies.yml https://nightlies.apache.org/infrastructure/nightlies-example-workflow.yml