Skip to content

Commit

Permalink
Merge pull request #5 from lsst/tickets/DM-27143
Browse files Browse the repository at this point in the history
DM-27143: Convert build to use GitHub Actions
  • Loading branch information
jonathansick committed Oct 12, 2020
2 parents 8f2f0c1 + b62c620 commit e57f574
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 19 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
@@ -0,0 +1,33 @@
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.7

- name: Python install
run: |
python -m pip install --upgrade pip
python -m pip install "lander<2.0.0"
- 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 LDM-562.pdf --lsstdoc LDM-562.tex --ltd-product ldm-562
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

0 comments on commit e57f574

Please sign in to comment.