Skip to content

[WIP] Remove weco-bot from the repo #19

[WIP] Remove weco-bot from the repo

[WIP] Remove weco-bot from the repo #19

Workflow file for this run

name: CI
on:
pull_request:
branches-ignore:
- dependency-updates
workflow_dispatch:
push:
branches:
- main
jobs:
CI:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub on behalf of Wellcome Collection"
- uses: actions/setup-node@v4
with:
cache: "yarn"
cache-dependency-path: "yarn.lock"
node-version-file: ".nvmrc"
- name: Convert Notebooks
run: .build/scripts/convert_notebooks.sh
- name: Build HTML
run: yarn && yarn build
- name: Deploy to GitHub Pages
# if: ${{ github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Build output to publish to the `gh-pages` branch:
publish_dir: ./build