Skip to content

Instantly share code, notes, and snippets.

@SchattenGenie
Created April 6, 2020 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SchattenGenie/3e890d8dff9f35f0eddb4f293fa0ddfe to your computer and use it in GitHub Desktop.
Save SchattenGenie/3e890d8dff9f35f0eddb4f293fa0ddfe to your computer and use it in GitHub Desktop.
gitlab_github.yml
# gitlab yaml
--------------------------------
compile_document:
image: vbelavin/full-latex-scheme
variables:
GIT_SUBMODULE_STRATEGY: normal
script:
- python -c 'import sys; print(sys.getdefaultencoding())'
#- ./GOST_cls/gost_checker.py
- make
artifacts:
paths:
- _output/*.pdf
--------------------------------
# github yaml
--------------------------------
name: compile_document
on: [push]
jobs:
compile_document:
runs-on: ubuntu-latest
container:
image: vbelavin/full-latex-scheme
env:
GIT_SUBMODULE_STRATEGY: normal
steps:
- name: Checkout master
uses: actions/checkout@v1
- name: run script
run: |
python -c 'import sys; print(sys.getdefaultencoding())'
make
- name: Upload docs
uses: actions/upload-artifact@v2-preview
with:
name: pdfs
path: _output/*.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment