Skip to content

Update github-pages-deploy-action to version 4.4.2 #26

Update github-pages-deploy-action to version 4.4.2

Update github-pages-deploy-action to version 4.4.2 #26

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install wasi-sdk
run: |
wget --no-verbose 'https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-12/wasi-sdk-12.0-linux.tar.gz'
tar xf wasi-sdk-12.0-linux.tar.gz
rm wasi-sdk-12.0-linux.tar.gz
echo "$(pwd)/wasi-sdk-12.0/bin" >> $GITHUB_PATH
- name: Install binaryen
run: |
wget --no-verbose 'https://github.com/WebAssembly/binaryen/releases/download/version_108/binaryen-version_108-x86_64-linux.tar.gz'
tar xf binaryen-version_108-x86_64-linux.tar.gz
rm binaryen-version_108-x86_64-linux.tar.gz
echo "$(pwd)/binaryen-version_108/bin" >> $GITHUB_PATH
- name: Build
run: ./build.sh
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.2
with:
branch: gh-pages
folder: build
single-commit: true