Skip to content

RELEASE

RELEASE #8

Workflow file for this run

name: Deploy
on:
pull_request:
types: [ closed ]
branches:
- release
jobs:
deploy:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
environment: Deployment
steps:
- uses: actions/checkout@v4
- name: Install wasm-pack
run: cargo install wasm-pack
- name: Install NodeJs
uses: actions/setup-node@v4
- name: Deployment
run: ./deploy.sh
env:
BUILD_MODE: ${{ vars.BUILD_MODE }}
DEPLOYMENT_RES_PATH: ${{ vars.DEPLOYMENT_RES_PATH }}
DEPLOYMENT_SERVER: ${{ vars.DEPLOYMENT_SERVER }}
DEPLOYMENT_USER: ${{ vars.DEPLOYMENT_USER }}
SSH_KEY: ${{ secrets.SSH_KEY }}
SSH_KNOWN_HOSTS: ${{ secrets.SSH_KNOWN_HOSTS }}