Skip to content

update video

update video #138

Workflow file for this run

on:
push:
branches: ["master"]
# 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 one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Zola build
uses: shalzz/zola-deploy-action@v0.20.0
env:
BUILD_DIR: '.'
BUILD_ONLY: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# target: wasm32-unknown-unknown
# - uses: actions-rs/cargo@v1
# with:
# use-cross: true
# command: build
# args: --release --target=wasm32-unknown-unknown --examples
# - name: 🌊
# run: cargo install -f wasm-bindgen-cli
# - name: 🌊
# run: |
# for example in examples/*.rs; do
# example_name=$(basename "$example" .rs)
# echo "${example_name}"
# wasm-bindgen "target/wasm32-unknown-unknown/release/examples/${example_name}.wasm" --out-dir static/wasm-bindgen --target web
# done
- name: Configure pages
uses: actions/configure-pages@v5
- name: Upload pages
uses: actions/upload-pages-artifact@v3
with:
path: './public'
- name: Deploy pages
uses: actions/deploy-pages@v4