From 779e7c85f9b939494a262beb5002d284da0fe08e Mon Sep 17 00:00:00 2001 From: Sorawit Suriyakarn Date: Tue, 9 Jul 2024 12:57:53 +0700 Subject: [PATCH] Update workflow --- .github/workflows/pandoc.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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