Compare commits

..

No commits in common. "main" and "v2.2.8" have entirely different histories.
main ... v2.2.8

View File

@ -3,24 +3,38 @@ name: Build and Release
on:
push:
tags:
- 'v*'
schedule:
- cron: '@monthly'
- '*'
jobs:
build:
runs-on: ubuntu-latest
container:
image: alpine:latest
options: --user root
steps:
- run: apk add --no-cache nodejs nix
- name: Checkout code
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"
uses: actions/checkout@v3
- name: Create Release
uses: https://github.com/softprops/action-gh-release@v2
- uses: https://github.com/wtfjoke/setup-tectonic
with:
files: Main.pdf
biber-version: 'latest'
- run: tectonic 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