diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..0d78506 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,25 @@ +name: Build Adventurer's Guide +run-name: ${{ github.actor }} is building Adventurer's Guide +on: [push] +jobs: + Build-PDF: + runs-on: registry.gitlab.com/islandoftex/images/texlive:TL2023-2023-04-09-medium + permissions: + contents: read + packages: write + steps: + - run: echo "The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "This job is now running on a ${{ runner.os }}." + - run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v3 + - run: echo "The ${{ github.repository }} repository has been cloned to the runner." + - name: Build PDF with `latexmk` + run: latexmk + - run: echo "PDF built" + - run: echo "GHtoken: $GITHUB_TOKEN" + - run: echo "gt token: $GITEA_TOKEN" + # - name: Publish package + # run: | + # curl + \ No newline at end of file diff --git a/.gitignore b/.gitignore index 5e73197..332f532 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ build *.log *.synctex.gz .vscode -main.pdf \ No newline at end of file +*.pdf \ No newline at end of file diff --git a/latexmkrc b/latexmkrc index e5b5ac1..4226695 100644 --- a/latexmkrc +++ b/latexmkrc @@ -1,4 +1,5 @@ @default_files = ('main.tex'); +$jobname = "Adventurer's Guide to Savits"; $aux_dir = "build"; $emulate_aux = 1; \ No newline at end of file