Compare commits
19 Commits
e75fdbd184
...
4484fc0303
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4484fc0303 | ||
![]() |
9fe5342173 | ||
![]() |
559d6b92d1 | ||
![]() |
212a94323f | ||
![]() |
59d7e220ff | ||
![]() |
432defcf5e | ||
![]() |
d8348e4242 | ||
![]() |
48ddccb40c | ||
![]() |
4c2f351506 | ||
![]() |
1c8a16aedf | ||
![]() |
85a14b6bc0 | ||
![]() |
70401a3750 | ||
![]() |
b80f99ab2e | ||
![]() |
46d214a642 | ||
![]() |
8d56a258bd | ||
![]() |
b68687f0bd | ||
![]() |
6d3f2a6942 | ||
![]() |
ec4d31598b | ||
![]() |
7f08b6d38e |
42
.drone.yml
42
.drone.yml
@ -1,42 +0,0 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: buildlatex
|
||||
image: nareshkumarrao/texliveonfly
|
||||
commands:
|
||||
- tlmgr update --self --all
|
||||
- texliveonfly Main.tex
|
||||
- biber main
|
||||
- texliveonfly Main.tex
|
||||
- biber main
|
||||
- texliveonfly Main.tex
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://git.nareshkumarrao.com
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
files: Main.pdf
|
||||
when:
|
||||
event: tag
|
||||
- name: pushftp
|
||||
image: cschlosser/drone-ftps
|
||||
environment:
|
||||
PLUGIN_HOSTNAME: nareshkumarrao.com:21
|
||||
FTP_USERNAME:
|
||||
from_secret: ftp_username
|
||||
FTP_PASSWORD:
|
||||
from_secret: ftp_password
|
||||
PLUGIN_SECURE: false
|
||||
PLUGIN_DEST_DIR: master_thesis
|
||||
PLUGIN_INCLUDE: ^Main.pdf$
|
||||
when:
|
||||
event: tag
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
|
24
.gitea/workflows/build.yaml
Normal file
24
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
name: Build and Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
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/nixpkgs-unstable && nix-channel --update
|
||||
- run: nix-shell -p biber tectonic --run "tectonic Main.tex"
|
||||
|
||||
- name: Create Release
|
||||
uses: https://github.com/softprops/action-gh-release@v2
|
||||
with:
|
||||
files: Main.pdf
|
@ -1,8 +0,0 @@
|
||||
build-job:
|
||||
image: texlive/texlive:latest
|
||||
stage: build
|
||||
script:
|
||||
- make
|
||||
tags:
|
||||
- docker
|
||||
|
Loading…
x
Reference in New Issue
Block a user