Skip to content

Update CI configs to v0.11.25 #120

Update CI configs to v0.11.25

Update CI configs to v0.11.25 #120

# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
# SPDX-License-Identifier: MIT
name: GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-24.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Build WASM
run: |
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" web/
GOOS=js GOARCH=wasm go build -o web/wasm.wasm ./pkg/wasm/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.PIONBOT_PRIVATE_KEY }}
cname: pe.pion.ly
publish_dir: ./web