add seo to single images #4
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: Node.js CD | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: SSH and deploy node app | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.SSH_HOST }} | |
username: ${{ secrets.SSH_USERNAME }} | |
key: ${{ secrets.SSH_KEY }} | |
port: ${{ secrets.SSH_PORT }} | |
script: | | |
cd /var/www/Mimo | |
git pull origin main | |
export NVM_DIR=~/.nvm | |
source ~/.nvm/nvm.sh | |
npm run prod | |
composer install | |
php artisan migrate | |
php artisan cache:clear | |
php artisan config:cache | |
php artisan route:cache | |
php artisan optimize |