Skip to content

Add recommended order for tutorials #56

Add recommended order for tutorials

Add recommended order for tutorials #56

Workflow file for this run

name: CI
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. But do not cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: pages
cancel-in-progress: false
jobs:
deploy-sashboard:
name: "Deploy dashboard to GitHub Pages"
environment:
name: GitHub Pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout
uses: actions/checkout@v4
- name: 🧰 Setup GitHub Pages
uses: actions/configure-pages@v5
- name: 🧰 Install Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: 🧰 Install Python dependencies
run: python -m pip install pyyaml~=6.0
- name: 🏗️ Pre-process data
working-directory: dashboard
run: python3 process_data.py
- name: 🧰 Setup Node/Yarn
uses: actions/setup-node@v4
with:
node-version: '20'
cache: yarn
cache-dependency-path: dashboard/yarn.lock
- name: 🧰 Install Yarn dependencies
working-directory: dashboard
run: yarn
- name: 🧪 Lint dashboard web app
working-directory: dashboard
run: yarn lint
# - name: 🧪 Test dashboard web app
# working-directory: dashboard
# run: yarn test
- name: 🏗️ Build dashboard web app
working-directory: dashboard
run: |
yarn build
cp src/resources/ir-lab-guidelines-sose-2024.pdf dist/
- name: 📤 Upload web app artifact
uses: actions/upload-pages-artifact@v3
with:
path: dashboard/dist/
- name: 🚀 Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4