on: push | |
jobs: | |
md_to_html: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: docker://pandoc/core:2.9 | |
with: | |
args: >- | |
--standalone | |
--output=ghactions-publishing.html | |
ghactions-publishing.md | |
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 |