Created
April 6, 2020 20:15
-
-
Save SchattenGenie/3e890d8dff9f35f0eddb4f293fa0ddfe to your computer and use it in GitHub Desktop.
gitlab_github.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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