Skip to content

Fix URL for obs-ops repo #748

Fix URL for obs-ops repo

Fix URL for obs-ops repo #748

Workflow file for this run

name: CI
on:
push:
branches:
- master
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install npm packages
run: npm install .
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install npm packages
run: npm install .
- name: Build Gatsby site
run: npm run build
- name: Upload
if: github.ref == 'refs/heads/main'
uses: lsst-sqre/ltd-upload@v1
with:
project: 'www'
dir: 'public'
username: ${{ secrets.LTD_USERNAME }}
password: ${{ secrets.LTD_PASSWORD }}