Skip to content

Merge pull request #58 from intergral/logging #53

Merge pull request #58 from intergral/logging

Merge pull request #58 from intergral/logging #53

Workflow file for this run

name: Deploy Pages
on:
push:
branches: [ "master" ]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
mkdocs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs build -d./_site
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Mk docs
path: _site
mergeBuilds:
runs-on: ubuntu-latest
needs:
- JavaSite

Check failure on line 41 in .github/workflows/update_docs.yml

View workflow run for this annotation

GitHub Actions / Deploy Pages

Invalid workflow file

The workflow is not valid. .github/workflows/update_docs.yml (Line: 41, Col: 9): Job 'mergeBuilds' depends on unknown job 'JavaSite'. .github/workflows/update_docs.yml (Line: 65, Col: 12): Job 'deploy' depends on job 'mergeBuilds' which creates a cycle in the dependency graph.
- mkdocs
steps:
- name: Download Mkdocs artifact
uses: actions/download-artifact@v3
with:
name: Mk docs
path: _site
- name: Download mvn site from latest
uses: robinraju/[email protected]
with:
latest: true
fileName: site.tar.gz
- name: Unpack
run: |
mkdir -p _site/mvn
tar -xvf site.tar.gz --strip-components=2 -C _site/mvn
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
deploy:
needs: mergeBuilds
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2