Skip to content

chore: bump actions/deploy-pages from 2.0.4 to 2.0.5 #7

chore: bump actions/deploy-pages from 2.0.4 to 2.0.5

chore: bump actions/deploy-pages from 2.0.4 to 2.0.5 #7

Workflow file for this run

name: CI
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
uses: xu-cheng/latex-action@v3
with:
root_file: main.tex
- name: Rename document
run: mkdir dist && mv main.pdf dist/buku-ta.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]