name: Build and Release on: push: tags: - '*' jobs: build: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - uses: https://github.com/wtfjoke/setup-tectonic with: 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