diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..4f5b089 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,41 @@ +name: CI + +"on": [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 # full history for metadata + submodules: true + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.10" + + - name: Python install + run: | + python -m pip install --upgrade pip + python -m pip install "lander<2.0.0" + + - name: Login to Docker Hub + uses: docker/login-action@v1 + with: + username: sqrereadonly + password: ${{ secrets.DOCKERHUB_SQREREADONLY_TOKEN }} + + - name: TeX build + run: | + docker run --rm -v `pwd`:/workspace -w /workspace lsstsqre/lsst-texmf:latest sh -c 'make' + + - name: Landing page upload + if: ${{ github.event_name == 'push' }} + env: + LTD_PASSWORD: ${{ secrets.LTD_PASSWORD }} + LTD_USERNAME: ${{ secrets.LTD_USERNAME }} + run: | + lander --upload --pdf PSTN-019.pdf --lsstdoc PSTN-019.tex --ltd-product pstn-019 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0d4c276..0000000 --- a/.travis.yml +++ /dev/null @@ -1,36 +0,0 @@ -sudo: true -dist: xenial -services: - - docker -language: python -python: - - '3.7' -before_install: - - pip install 'lander>=0.1.0,<0.2' - - pip install pyyaml # for db2authors.py -script: - # Pre-build authors.tex using the Travis CI Python - - make authors.tex - # Compile PDF using containerized lsst-texmf - - docker run --rm -v `pwd`:/workspace -w /workspace lsstsqre/lsst-texmf:latest sh - -c 'make' - # Deploy website. See https://github.com/lsst-sqre/lander for CLI options - - lander --upload --pdf PSTN-019.pdf --lsstdoc PSTN-019.tex --env=travis --ltd-product - pstn-019 -env: - global: - - - # LTD_AWS_ID - secure: dBpClCHWD0jbSbfr9/Z32gi6gltYQxWFIlUb8RrD0lhZMTRbA+tT0cJRwHQfsz3lMbVeDttD7ZTEbhZod3+nAsEZ8kq3ijys1S3udliqBjkYQvob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78V3OgSa8SnIGYVogyThyOEzmYHeXkq1W1kCosb04WvXQ9+02IQV24Kf5P9rYeHZWPKY84mWkqloQ8P1BlCEBcZ8G97vxC0bNCpCfqE11udpWmzET3k8w8DJo8DfojxTWIqDSQpKZSQbvdtz3Gm5y23nrz5ZEmhE= diff --git a/Makefile b/Makefile index 30162cb..79e9797 100644 --- a/Makefile +++ b/Makefile @@ -13,15 +13,11 @@ endif export TEXMFHOME ?= lsst-texmf/texmf -$(DOCNAME).pdf: $(tex) meta.tex local.bib authors.tex acronyms.tex +$(DOCNAME).pdf: $(tex) meta.tex local.bib authors.tex latexmk -bibtex -xelatex -f $(DOCNAME) -# Acronym tool allows for selection of acronyms based on tags - you may want more than DM -acronyms.tex: $(tex) myacronyms.txt - $(TEXMFHOME)/../bin/generateAcronyms.py -t "DM" $(tex) - authors.tex: authors.yaml - python3 $(TEXMFHOME)/../bin/db2authors.py > authors.tex + python3 $(TEXMFHOME)/../bin/db2authors.py > authors.tex .PHONY: clean clean: diff --git a/lsst-texmf b/lsst-texmf index 13232ee..7b05531 160000 --- a/lsst-texmf +++ b/lsst-texmf @@ -1 +1 @@ -Subproject commit 13232ee7f76e43adeb826bf4d65daab1adfbe271 +Subproject commit 7b0553151549ffa10106d2d9faad5a47aa135a28