Moved the first course work to a new folder
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Andre Henriques 2023-11-21 13:30:17 +00:00
parent 87d7795a89
commit d21224ac4c
27 changed files with 48 additions and 48 deletions

View File

@ -8,57 +8,57 @@ steps:
commands: commands:
- bash linting.sh - bash linting.sh
- name: Build UPDS-1 # - name: Build UPDS-1
commands: # commands:
- cd cw # - cd cw
- pdflatex cw.tex # - pdflatex cw.tex
# Prepare bib # # Prepare bib
- /usr/bin/vendor_perl/biber cw # - /usr/bin/vendor_perl/biber cw
# Compile twice for the table of contents and for bib text # # Compile twice for the table of contents and for bib text
- pdflatex cw.tex # - pdflatex cw.tex
- pdflatex cw.tex # - pdflatex cw.tex
- cd - # - cd -
# - name: Build Report # # - name: Build Report
# commands: # # commands:
# - cd report # # - cd report
# - cp ../upds-1/UPDS-content.tex UPDS-1-content.tex # # - cp ../upds-1/UPDS-content.tex UPDS-1-content.tex
# - cp ../upds-2/UPDS-content.tex UPDS-2-content.tex # # - cp ../upds-2/UPDS-content.tex UPDS-2-content.tex
# - pdflatex report.tex # # - pdflatex report.tex
# # Prepare bib # # # Prepare bib
# - /usr/bin/vendor_perl/biber report # # - /usr/bin/vendor_perl/biber report
# # Compile twice for the table of contents and for bib text # # # Compile twice for the table of contents and for bib text
# - pdflatex report.tex # # - pdflatex report.tex
# - cd - # # - cd -
# # #
# - name: Generate text # # - name: Generate text
# commands: # # commands:
# - pnpm i # # - pnpm i
# - pnpm ts-node main.ts report/report.tex # # - pnpm ts-node main.ts report/report.tex
- name: gitea_release # - name: gitea_release
environment: # environment:
TOKEN: # TOKEN:
from_secret: token # from_secret: token
commands: # commands:
- tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN" # - tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN"
- tea r rm -y current || echo "Release not found" # - tea r rm -y current || echo "Release not found"
# - tea r c --title "Latest Report" --asset report/report.pdf --asset upds-1/UPDS12-1.pdf --asset upds-2/UPDS12-2.pdf --asset results.txt --asset poster/poster.pdf current # # - tea r c --title "Latest Report" --asset report/report.pdf --asset upds-1/UPDS12-1.pdf --asset upds-2/UPDS12-2.pdf --asset results.txt --asset poster/poster.pdf current
- tea r c --title "1st cw work" --asset cw/cw.pdf first-cw-work # - tea r c --title "1st cw work" --asset cw/cw.pdf first-cw-work
- name: Remove current on failure # - name: Remove current on failure
environment: # environment:
TOKEN: # TOKEN:
from_secret: token # from_secret: token
commands: # commands:
- tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN" # - tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN"
- tea r rm -y current || echo "Release not found" # - tea r rm -y current || echo "Release not found"
trigger: # trigger:
status: # status:
- failure # - failure
when: # when:
status: # status:
- failure # - failure
#- name: latest #- name: latest
# environment: # environment: