Skip to content

πŸ“œ Add LICENSE #43

πŸ“œ Add LICENSE

πŸ“œ Add LICENSE #43

Workflow file for this run

name: "Deploy to 404 Server"
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
cd ${{ secrets.DIR }}
git pull
cd frontend
npm install
npm run build
cd ../backend
docker compose up -d
npm install
npm run build
screen -S 404 -X quit
screen -S 404 -d -L -Logfile ../../last_log.txt -m npm start
echo "Deployed!"