Skip to content

deploy

deploy #4

Workflow file for this run

name: deploy
on:
workflow_dispatch:
jobs:
deploy:
name: deploy to staging
runs-on: ubuntu 22.04
steps:
- name: Deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.STAGING_HOST }}
username: staging
key: ${{ secrets.STAGING_PRIVATE_KEY }}
port: 22
script: "cd /var/www/dodavpn.com; git pull origin main; composer dump-autoload; php artisan optimize:clear; php artisan migrate; php artisan optimize"