Nightly Docs #1265
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly Docs | |
on: | |
schedule: | |
- cron: '15 3 * * *' | |
workflow_dispatch: | |
jobs: | |
ansible-docs: | |
name: Publish ansible-based docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ansible | |
- name: Run publish docs script | |
env: | |
PULP_DOCS_KEY: ${{ secrets.PULP_DOCS_KEY }} | |
run: .ci/scripts/publish_docs.sh ansible | |
publish-docs: | |
name: Publish go-based docs | |
runs-on: ubuntu-latest | |
needs: ansible-docs | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run publish docs script | |
env: | |
PULP_DOCS_KEY: ${{ secrets.PULP_DOCS_KEY }} | |
run: .ci/scripts/publish_docs.sh ${GITHUB_REF##*/} |