diff --git a/.github/workflows/pdf-at-pr.yaml b/.github/workflows/pdf-at-pr.yaml index b74cac6f..ebc57b40 100644 --- a/.github/workflows/pdf-at-pr.yaml +++ b/.github/workflows/pdf-at-pr.yaml @@ -17,19 +17,39 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} + path: documentation + + - uses: actions/checkout@v4 + with: + ref: www + path: www + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + - name: Install dependencies run: | + cd documentation python -m pip install --upgrade pip pip install setuptools wheel pip install -r requirements.txt + - name: Run mkdocs --clean run: | + + cd documentation mkdocs build --clean + - uses: devindford/Append_PR_Comment@v1.1.2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + body-template: | + This was added after the action ran + Isn't this cool! ${{ github.event.pull_request.head.sha }} + body-update-action: 'suffix' + - name: Upload pdf uses: actions/upload-artifact@v4 with: