Skip to content

⬆️ Upgrade dependency vite to v5.3.5 (#591) #556

⬆️ Upgrade dependency vite to v5.3.5 (#591)

⬆️ Upgrade dependency vite to v5.3.5 (#591) #556

Workflow file for this run

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}