Skip to content

ci: version bump to v6.3.5 #272

ci: version bump to v6.3.5

ci: version bump to v6.3.5 #272

Workflow file for this run

name: Deploy website
on:
push:
tags: 'v*'
branches:
- "dev"
jobs:
web-deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: "Setup node"
uses: actions/setup-node@v1
with:
node-version: '16'
- name: Get latest code
uses: actions/checkout@v2
- name: "Install modules"
run: "npm run install:ci"
- name: "Generate build information json"
run: "node generateInfo.js"
- name: "Edit package.json for web deployment"
run: "node editPackageWeb.js"
- name: Build web
run: npm run build:web
- name: Deploy
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.server }}
username: ${{ secrets.username }}
password: ${{ secrets.password }}
local-dir: ./build/
dangerous-clean-slate: true
server-dir: /var/www/mtgatool-app/