From f2cfa6ce58a00128a8817217d81fdaae483b6350 Mon Sep 17 00:00:00 2001 From: Sorawit Suriyakarn Date: Tue, 9 Jul 2024 12:59:38 +0700 Subject: [PATCH] Update workflow --- .github/workflows/pandoc.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pandoc.yml b/.github/workflows/pandoc.yml index b8d4e13..9b520ad 100644 --- a/.github/workflows/pandoc.yml +++ b/.github/workflows/pandoc.yml @@ -14,7 +14,7 @@ permissions: id-token: write jobs: - build: + build-and-deploy: runs-on: ubuntu-latest steps: @@ -32,16 +32,14 @@ jobs: mkdir -p output mv doc.pdf output/doc.pdf - deploy: - runs-on: ubuntu-latest - needs: build - steps: - name: Setup Pages uses: actions/configure-pages@v5 + - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: path: output + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4