Skip to content

(station) Fix demo layout #825

(station) Fix demo layout

(station) Fix demo layout #825

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Docs
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
with:
lfs: true
- name: Install golang deps
run: ./install-go-dependencies.sh
- name: Install system python deps
run: sudo apt update && sudo apt install python3-ply python3-pil
- name: Install python deps
run: pip install -r requirements.txt
- name: Generate docs (RV)
run: PATH=${PWD}/gopath/bin:${PATH} make doc.rv
- name: Generate docs (RT)
run: PATH=${PWD}/gopath/bin:${PATH} make doc.rt
- name: Generate docs (AEGIS)
run: PATH=${PWD}/gopath/bin:${PATH} make doc.aegis
- name: Generate docs (Station)
run: PATH=${PWD}/gopath/bin:${PATH} make doc.station
- name: Generate docs (Bridge)
run: PATH=${PWD}/gopath/bin:${PATH} make doc.bridge
- name: Setup Pages
uses: actions/configure-pages@main
- name: Install ruby deps
run: sudo gem install bundler:2.3.26 && cd docs && bundle install
- name: Build with Jekyll
run: cd docs && bundle exec jekyll build
- name: Upload artifact
uses: actions/upload-pages-artifact@main
with:
path: ./docs/_site
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@main