Compare commits
4 Commits
4edb7fac10
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c6be2f1e3 | |||
| cee16de419 | |||
| e4cccba942 | |||
| e023f68a84 |
@@ -0,0 +1,29 @@
|
|||||||
|
name: Deploy to Remote Server
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Deploy and optimize
|
||||||
|
uses: appleboy/ssh-action@master
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.SSH_HOST }}
|
||||||
|
username: ${{ secrets.SSH_USER }}
|
||||||
|
key: ${{ secrets.SSH_KEY }}
|
||||||
|
port: ${{ secrets.SSH_PORT || 22 }}
|
||||||
|
script: |
|
||||||
|
cd ${{ secrets.DEPLOY_PATH }}
|
||||||
|
git pull origin master
|
||||||
|
composer install --no-interaction --prefer-dist --optimize-autoloader
|
||||||
|
npm install
|
||||||
|
npm run prod
|
||||||
|
php artisan migrate --force
|
||||||
|
php artisan optimize:clear
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
Login
|
Login
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<a href="{{ url('auth/social/oidc') }}" class="btn btn-info">
|
<a href="{{ url('auth/social/oidc') }}" class="btn btn-primary">
|
||||||
Login with OIDC
|
Login with OIDC
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user