add workflow
This commit is contained in:
21
.gitea/workflows/generate.yml
Normal file
21
.gitea/workflows/generate.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: generate pdf files
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: install deps
|
||||
run: sudo apt-get update && sudo apt-get install make && sudo make install_ubuntu
|
||||
- name: generate
|
||||
run: make all
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: documents
|
||||
path: pdf/*
|
||||
overwrite: true
|
||||
Reference in New Issue
Block a user