|
|
|
@ -18,8 +18,8 @@ jobs:
|
|
|
|
|
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
|
|
|
|
- name: Install node
|
|
|
|
|
run: apt-get update && apt-get install -y nodejs
|
|
|
|
|
- name: Install LaTeX packages
|
|
|
|
|
run: tlmgr update --self && tlmgr install cleveref scholax anyfontsize wrapfig framed scholax ly1
|
|
|
|
|
# - name: Install LaTeX packages
|
|
|
|
|
# run: tlmgr update --self && tlmgr install cleveref scholax anyfontsize wrapfig framed scholax ly1
|
|
|
|
|
- name: Check out repository code
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
|
|
|
|
@ -29,8 +29,9 @@ jobs:
|
|
|
|
|
- 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
|
|
|
|
|
# - run: echo "GHtoken $GITHUB_TOKEN"
|
|
|
|
|
- name: Publish package
|
|
|
|
|
run: |
|
|
|
|
|
curl --user henine:$GITHUB_TOKEN \
|
|
|
|
|
--upload-file "Adventurer's Guide to Savits.pdf" \
|
|
|
|
|
https://git.raptorpond.com/api/packages/henine/generic/${{ github.repository }}/latest/adventurers_guide.pdf
|
|
|
|
|