Nareshkumar Rao 4c2f351506 wip
2025-03-23 12:10:51 +01:00

39 lines
975 B
YAML

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