Switch xref shortcut to Alt+X #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |