Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sorawit committed Jul 9, 2024
1 parent 4817b9a commit 779e7c8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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

0 comments on commit 779e7c8

Please sign in to comment.