Skip to content

fix(replays): correct time and apples for battle replays #71

fix(replays): correct time and apples for battle replays

fix(replays): correct time and apples for battle replays #71

name: Build and Deploy test
on:
push:
branches:
- dev
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build project
run: yarn build
- name: Deploy to server
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
source: "build/*"
target: "${{ secrets.SSH_BUILD_PATH }}"
strip_components: 1