Skip to content

Merge pull request #763 from kynapse/bugfix-support-period-in-addChannel #1546

Merge pull request #763 from kynapse/bugfix-support-period-in-addChannel

Merge pull request #763 from kynapse/bugfix-support-period-in-addChannel #1546

Workflow file for this run

name: Deploy to staging
on:
push:
branches:
- dev
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy staging box
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script_stop: true
script: |
cd /opt/staging_web || { echo "No directory found"; exit 1; }
git pull origin dev
npm ci
npm run build
rm -r /var/www/html/staging.holodex.net/*
cp -r dist/* /var/www/html/staging.holodex.net/