Nightly Documentation Build #1218
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 Documentation Build | ||
on: | ||
workflow_dispatch: | ||
schedule: # UTC at 0300 | ||
- cron: '0 3 * * *' | ||
env: | ||
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }} | ||
MAIN_PYTHON_VERSION: '3.10' | ||
DOCUMENTATION_CNAME: 'aedt.docs.pyansys.com' | ||
MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }} | ||
MEILISEARCH_HOST_URL: ${{ vars.MEILISEARCH_HOST_URL }} | ||
MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }} | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
doc-build: | ||
Check failure on line 22 in .github/workflows/nightly-docs.yml GitHub Actions / Nightly Documentation BuildInvalid workflow file
|
||
name: Documentation build | ||
runs-on: [ self-hosted, Windows, pyaedt ] | ||
needs: [doc-style] | ||
steps: | ||
- name: Documentation build | ||
uses: ansys/actions/doc-build@v8 | ||
with: | ||
python-version: ${{ env.MAIN_PYTHON_VERSION }} | ||
upload-dev-doc: | ||
name: Upload dev documentation | ||
runs-on: ubuntu-latest | ||
needs: doc-build | ||
steps: | ||
- name: Upload development documentation | ||
uses: ansys/actions/doc-deploy-dev@v8 | ||
with: | ||
cname: ${{ env.DOCUMENTATION_CNAME }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }} | ||
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }} |