Trust proxies
All checks were successful
Deploy App / deploy (push) Successful in 6s

This commit is contained in:
2025-12-21 14:44:44 +01:00
parent bc25bb1626
commit 40d082e9bf
2 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
name: Deploy App
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to LXC
uses: appleboy/ssh-action@v0.1.9
with:
host: ${{ secrets.PROD_HOST }}
username: ${{ secrets.PROD_USER }}
key: ${{ secrets.PROD_SSH_KEY }}
port: 22
script: |
cd /var/www/riksdagen-app
git pull origin master
npm install
npm run build
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
php artisan optimize