Skip to content

Commit

Permalink
lander action
Browse files Browse the repository at this point in the history
  • Loading branch information
womullan committed Nov 8, 2021
1 parent 2f75684 commit e6f7a22
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yaml
@@ -0,0 +1,41 @@
name: CI

"on": [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # full history for metadata
submodules: true

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9

- 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 LSO-011.pdf --lsstdoc LSO-011.tex --ltd-product lso-011

0 comments on commit e6f7a22

Please sign in to comment.