Skip to content

Merge pull request #14 from SalamLang/dependabot/npm_and_yarn/vite-5.4.6 #19

Merge pull request #14 from SalamLang/dependabot/npm_and_yarn/vite-5.4.6

Merge pull request #14 from SalamLang/dependabot/npm_and_yarn/vite-5.4.6 #19

Workflow file for this run

on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run and deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
script: |
cd ${{ secrets.SERVER_PATH }}
git fetch --all
git pull
npm install --force
npm run build
composer update --no-interaction --prefer-dist --with-all-dependencies