2023-10-03 16:09:10 +02:00
|
|
|
name: Gitea Actions Demo
|
2023-10-03 16:29:52 +02:00
|
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
2023-10-03 16:09:10 +02:00
|
|
|
on: [push]
|
2023-10-03 16:29:52 +02:00
|
|
|
|
2023-10-03 16:09:10 +02:00
|
|
|
jobs:
|
2023-10-14 14:49:13 +02:00
|
|
|
checkout:
|
2023-10-03 18:46:26 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-14 14:46:22 +02:00
|
|
|
- name: check out repo
|
|
|
|
uses: actions/checkout@v3
|
2023-10-14 15:31:47 +02:00
|
|
|
- name: compile
|
2023-10-16 20:57:19 +02:00
|
|
|
run: |
|
2023-10-17 14:52:36 +02:00
|
|
|
pdflatex main.tex
|
2023-10-17 15:07:15 +02:00
|
|
|
- name: prepare pages
|
|
|
|
run: |
|
2023-10-17 16:11:58 +02:00
|
|
|
mkdir public2
|
|
|
|
mv main.pdf main.log public2
|
2023-10-17 16:19:03 +02:00
|
|
|
- uses: actions/pages@v1
|
2023-10-17 16:11:58 +02:00
|
|
|
with:
|
2023-10-17 16:13:50 +02:00
|
|
|
directory: public2
|
|
|
|
index-title: 'Just a CI test'
|
2023-10-17 16:14:24 +02:00
|
|
|
index: false
|