Skip to content

Merge pull request #1920 from Wotuu/development #144

Merge pull request #1920 from Wotuu/development

Merge pull request #1920 from Wotuu/development #144

Workflow file for this run

# Dummy commits done: 0
name: Live Deploy
on:
push:
branches: master
jobs:
deploy-live:
runs-on: ubuntu-latest
steps:
- name: Update live environment
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.DEPLOY_USERNAME }}
key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
script: cd /var/www/html/keystone.guru.live/;
php artisan readonly:enable &&
php artisan db:backup &&
php artisan up;
php artisan down --render="errors::503" --retry 60;
php artisan environment:updateprepare live &&
php artisan environment:update live &&
php artisan report:release discord &&
php artisan report:release reddit;
php artisan readonly:disable &&
php artisan up