Skip to content

⬆️ Upgrade dependency vite to v6.0.3 (#1017) #1004

⬆️ Upgrade dependency vite to v6.0.3 (#1017)

⬆️ Upgrade dependency vite to v6.0.3 (#1017) #1004

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:
runs-on: ubuntu-latest
needs: build
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 talk-am-pegel
git pull
php82 /usr/bin/composer install --no-dev -d ${PWD}
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: 📢 Create Sentry release
uses: getsentry/action-release@586b62368d564f25d694ce05fcb9cf53de65ac4f # v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: production