Compare commits
19 Commits
Author | SHA1 | Date | |
---|---|---|---|
44538f3af6 | |||
65e919ae70 | |||
2977e413d7 | |||
70b7550747 | |||
![]() |
4484fc0303 | ||
![]() |
9fe5342173 | ||
![]() |
559d6b92d1 | ||
![]() |
212a94323f | ||
![]() |
59d7e220ff | ||
![]() |
432defcf5e | ||
![]() |
d8348e4242 | ||
![]() |
48ddccb40c | ||
![]() |
4c2f351506 | ||
![]() |
1c8a16aedf | ||
![]() |
85a14b6bc0 | ||
![]() |
70401a3750 | ||
![]() |
b80f99ab2e | ||
![]() |
46d214a642 | ||
![]() |
8d56a258bd |
@ -3,39 +3,24 @@ name: Build and Release
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- 'v*'
|
||||||
|
schedule:
|
||||||
|
- cron: '@monthly'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: alpine:latest
|
||||||
|
options: --user root
|
||||||
steps:
|
steps:
|
||||||
|
- run: apk add --no-cache nodejs nix
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
- run: nix-channel --add https://nixos.org/channels/nixos-24.11 nixpkgs && nix-channel --update
|
||||||
|
- run: nix-shell -p biber tectonic --run "tectonic Main.tex"
|
||||||
|
|
||||||
- name: Build LaTeX
|
- name: Create Release
|
||||||
uses: docker://nareshkumarrao/texliveonfly:latest
|
uses: https://github.com/softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
entrypoint: /bin/sh
|
files: Main.pdf
|
||||||
args: -c "tlmgr update --self --all && texliveonfly Main.tex && biber main && texliveonfly Main.tex && biber main && texliveonfly Main.tex"
|
|
||||||
|
|
||||||
# - name: Create Release
|
|
||||||
# uses: softprops/action-gh-release@v1
|
|
||||||
# if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
# with:
|
|
||||||
# files: Main.pdf
|
|
||||||
# env:
|
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
# - name: Deploy via FTP
|
|
||||||
# uses: SamKirkland/FTP-Deploy-Action@v4.3.4
|
|
||||||
# if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
# with:
|
|
||||||
# server: nareshkumarrao.com
|
|
||||||
# username: ${{ secrets.FTP_USERNAME }}
|
|
||||||
# password: ${{ secrets.FTP_PASSWORD }}
|
|
||||||
# port: 21
|
|
||||||
# protocol: ftp
|
|
||||||
# local-dir: ./
|
|
||||||
# server-dir: master_thesis/
|
|
||||||
# include: Main.pdf
|
|
Loading…
x
Reference in New Issue
Block a user