Skip to content

Merge pull request #49 from ergrelet/update_egui #5

Merge pull request #49 from ergrelet/update_egui

Merge pull request #49 from ergrelet/update_egui #5

Workflow file for this run

name: Deploy Web Application
on:
push:
branches:
- master
jobs:
build-and-deploy-resym-web:
name: Build resym-web
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-02-24
profile: minimal
target: wasm32-unknown-unknown
override: true
- name: Install wasm-pack
uses: jetli/[email protected]
with:
version: "latest"
- name: Build resym-web
run: .\scripts\build_resym_web.bat
- name: Prepare resym-web deployment
run: |
cd .\resym\pkg\
rm .gitignore
git init
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add *.html *.js *.wasm snippets\
git commit -m 'Deploy resym-web'
- name: Force push to destination branch
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: resym-web
force: true
directory: ./resym/pkg/