Skip to content

Merge pull request #1 from AdaLink-io/MontiMarti-patch-1 #19

Merge pull request #1 from AdaLink-io/MontiMarti-patch-1

Merge pull request #1 from AdaLink-io/MontiMarti-patch-1 #19

Workflow file for this run

on:
push:
branches:
- main
name: "πŸš€ Deploy website on push"
jobs:
web-deploy:
name: "πŸŽ‰ Deploy"
runs-on: ubuntu-latest
steps:
- name: "🚚 Get latest code"
uses: actions/checkout@v3
- name: "Use Node.js 22"
uses: actions/setup-node@v4
with:
node-version: '22'
- name: "🧱 Install Tailwind CSS Dependencies"
run: |
npm install -D tailwindcss postcss autoprefixer
npm install
npx tailwindcss init -p
- name: "πŸ”¨ Build Project"
run: |
npm install
npm run build
env:
CI: ""
- name: "πŸ“‚ Upload to Cpanel"
uses: appleboy/scp-action@master
with:
host: ${{ secrets.CPANEL_SERVER }}
username: ${{ secrets.CPANEL_USERNAME }}
port: ${{ secrets.CPANEL_PORT }}
key: ${{ secrets.CPANEL_KEY }}
passphrase: ${{ secrets.CPANEL_KEY_PASSPHRASE }}
target: ${{ secrets.CPANEL_TARGET }}
source: "./build/*"