[WIP] Remove weco-bot from the repo #17
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
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 GitHub pages | |
env: | |
GIT_USER: weco-bot | |
run: yarn deploy |