⬆️ Upgrade dependency vite to v5.3.5 (#591) #556
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: Deploy to Live | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Create local changes | |
run: | | |
yarn install | |
yarn run build | |
- name: Commit and push local changes | |
uses: stefanzweifel/git-auto-commit-action@v5.0.1 | |
with: | |
commit_message: Apply theme changes | |
deploy: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: executing remote ssh commands using password | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.SSH_HOST }} | |
username: ${{ secrets.SSH_USERNAME }} | |
password: ${{ secrets.SSH_PASSWORD }} | |
port: ${{ secrets.SSH_PORT }} | |
script: | | |
cd einstein | |
git pull | |
php82 /usr/bin/composer install --no-dev -d ${PWD} |