diff --git a/.github/workflows/pandoc.yml b/.github/workflows/pandoc.yml index 36d623e..b8d4e13 100644 --- a/.github/workflows/pandoc.yml +++ b/.github/workflows/pandoc.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build Docker image run: docker build -t custom-pandoc-latex . @@ -32,16 +32,16 @@ jobs: mkdir -p output mv doc.pdf output/doc.pdf - - name: Upload artifact to be deployed to GitHub Pages - uses: actions/upload-pages-artifact@v3 - with: - path: output - deploy: runs-on: ubuntu-latest needs: build steps: - - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v1 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + path: output + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4