Update workshop report title and remove analysis #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build LaTeX document | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
compile: | |
name: Compile | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Compile document 1 | |
uses: xu-cheng/latex-action@v3 | |
with: | |
root_file: main.tex | |
- name: Move document 1 to dist | |
run: mkdir dist && mv main.pdf dist/laporan.pdf | |
- name: Upload Pages artifact | |
uses: actions/[email protected] | |
with: | |
path: dist | |
deploy: | |
name: Deploy | |
if: github.event_name != 'pull_request' | |
needs: compile | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
concurrency: | |
group: pages | |
cancel-in-progress: false | |
steps: | |
- name: Configure Pages | |
uses: actions/[email protected] | |
- name: Deploy to Pages | |
id: deployment | |
uses: actions/[email protected] |