Skip to content

Bazel: 6.5.0 -> 8.0.0 #241

Bazel: 6.5.0 -> 8.0.0

Bazel: 6.5.0 -> 8.0.0 #241

Workflow file for this run

name: pages
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install mdbook
run: |
curl -sSfLo mdbook.tar.gz https://github.com/rust-lang/mdBook/releases/download/v0.4.36/mdbook-v0.4.36-x86_64-unknown-linux-musl.tar.gz
tar xzf mdbook.tar.gz
./mdbook --version
- name: Build pages
run: |
MDBOOK=$(pwd)/mdbook make pages
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v3
with:
path: "public"
deploy:
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write
id-token: write
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4