Skip to content

🔧 fix dependency versions semver constraints #628

🔧 fix dependency versions semver constraints

🔧 fix dependency versions semver constraints #628

Workflow file for this run

name: Deploy to Live
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: pnpm/action-setup@v4
with:
run_install: false
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 22
cache: 'pnpm'
- name: 📦 Install dependencies
run: pnpm install
- name: 📦 Build production bundle
run: pnpm build
- name: 📥 Commit and push local changes
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # 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
php83 /usr/bin/composer install --no-dev -d ${PWD}