Nareshkumar Rao 1c8a16aedf wip
2025-03-23 04:15:07 +01:00

37 lines
947 B
YAML

name: Build and Release
on:
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
container: tectonictypesetting/tectonic:latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- 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