Skip to content

Merge pull request #24 from umd-mith/full-typescript #39

Merge pull request #24 from umd-mith/full-typescript

Merge pull request #24 from umd-mith/full-typescript #39

Workflow file for this run

name: Publish Staging Site on GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
test:
uses: ./.github/workflows/run-tests.yml
secrets:
AIRTABLE_TOKEN: ${{ secrets.AIRTABLE_TOKEN }}
typescript-check:
uses: ./.github/workflows/run-typescript.yml

Check failure on line 16 in .github/workflows/staging.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/staging.yml

Invalid workflow file

error parsing called workflow ".github/workflows/staging.yml" -> "./.github/workflows/run-typescript.yml" (source branch with sha:7257d1d3c94db4b7296cb48a0fab24a940879140) : workflow is not reusable as it is missing a `on.workflow_call` trigger
build:
needs: [test, typescript-check]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: npm install and build and deploy
env:
AIRTABLE_TOKEN: ${{ secrets.AIRTABLE_TOKEN }}
AIRTABLE_PEOPLE_BASE_ID: appk2btw36qEO3vFo
AIRTABLE_RESEARCH_BASE_ID: appTv9J1zxqaNgBHi
AIRTABLE_EVENTS_BASE_ID: tbl6CURONRn8ML6le
AIRTABLE_POSTS_BASE_ID: appsY0VXF7pbv3mKR
AIRTABLE_MITH_BASE_ID: appMWsw8HKjjokBg2
run: |
npm install
npm run build-pages
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public