Add link to microblog title in timeline #697
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Staging | |
on: | |
push: | |
branches: | |
staging | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Deploy | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.STAGGING_IP }} | |
username: github | |
key: ${{ secrets.STAGGING_PRIVATE_KEY }} | |
port: 22 | |
script: | | |
cd /var/www/4programmers.dev | |
git fetch | |
git reset origin/staging --hard | |
docker-compose exec -T php composer install --no-dev | |
make install-assets | |
make migration | |
make assets-production | |
make cache-config | |
docker-compose exec -T php php artisan queue:restart |