History of LLMs: animatable graphs with labels #62
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
# Copyright 2024 Google LLC | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
name: Deploy slides | |
on: | |
workflow_dispatch: {} | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
- name: Build slides for games | |
working-directory: ./games/slides | |
run: | | |
npm install | |
# Need to do this explicitly, since playwright-chromium is | |
# only listed as a `peerDependencies`. | |
npm install -D playwright-chromium | |
npm run build -- --base /workshops/games | |
- name: Create deployment root for games | |
run: | | |
mkdir -pv root | |
cp -frv ./games/slides/dist ./root/games | |
- name: Build slides for cost | |
working-directory: ./cost/slides | |
run: | | |
npm install | |
# Need to do this explicitly, since playwright-chromium is | |
# only listed as a `peerDependencies`. | |
npm install -D playwright-chromium | |
npm run build -- --base /workshops/cost | |
- name: Create deployment root for cost | |
run: | | |
mkdir -pv root | |
cp -frv ./cost/slides/dist ./root/cost | |
- name: Build slides for recap | |
working-directory: ./recap/slides | |
run: | | |
npm install | |
# Need to do this explicitly, since playwright-chromium is | |
# only listed as a `peerDependencies`. | |
npm install -D playwright-chromium | |
npm run build -- --base /workshops/recap | |
- name: Create deployment root for recap | |
run: | | |
mkdir -pv root | |
cp -frv ./recap/slides/dist ./root/recap | |
- name: Build slides for factuality | |
working-directory: ./factuality/slides | |
run: | | |
npm install | |
# Need to do this explicitly, since playwright-chromium is | |
# only listed as a `peerDependencies`. | |
npm install -D playwright-chromium | |
npm run build -- --base /workshops/factuality | |
- name: Create deployment root for factuality | |
run: | | |
mkdir -pv root | |
cp -frv ./factuality/slides/dist ./root/factuality | |
- uses: actions/configure-pages@v4 | |
- uses: actions/upload-pages-artifact@v3 | |
with: | |
path: root | |
- name: Deploy | |
id: deployment | |
uses: actions/deploy-pages@v4 |