Skip to content

fix: Add note on initializing git submodules in README.md #63

fix: Add note on initializing git submodules in README.md

fix: Add note on initializing git submodules in README.md #63

Workflow file for this run

name: Website
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
# TODO: Implement tests for Rust samples included in documentation.
# test:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@master
# - name: Install Just
# run: curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | sudo bash -s -- --to /usr/local/bin
# - name: Run Website Doc Tests
# run: just website-doc-tests
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
submodules: true
- name: Install Zola
uses: taiki-e/install-action@v2
with:
tool: zola@0.16
- name: Build
run: zola build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./public
deploy:
name: Deploy 🚀
runs-on: ubuntu-latest
needs: build
if: ${{ github.ref == 'refs/heads/main' }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1