Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from lsst/tickets/DM-27143
DM-27143: Convert build to use GitHub Actions
- Loading branch information
Showing
2 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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-636.pdf --lsstdoc LDM-636.tex --ltd-product ldm-636 |
This file was deleted.
Oops, something went wrong.