Skip to content

musicdex changelog #1502

musicdex changelog

musicdex changelog #1502

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/