First Commit

This commit is contained in:
cesnimda
2026-03-21 11:55:27 +01:00
commit 2e8a29b4d0
1757 changed files with 166084 additions and 0 deletions
@@ -0,0 +1,28 @@
name: npm Build
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [stage*]
jobs:
SFTP-deploy:
name: 🪛 Build
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: "22"
- name: 🔨 Build Vite Admin - npm
run: |
cd admin
cd vite
npm i
npm run build
+37
View File
@@ -0,0 +1,37 @@
name: Prod deploy
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events, but only for the main branch
push:
branches:
- main
paths:
- 'uikit/tailwind/**'
pull_request:
types:
- closed
branches:
- main
jobs:
if_merged:
if: github.event.pull_request.merged == true
name: 🎉 Prod Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: 📂 Deploy to Server
uses: easingthemes/ssh-deploy@v4
env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
# ARGS: "-rltgoDzvO --delete"
SOURCE: 'uikit/tailwind/dist/'
REMOTE_HOST: 145.79.3.173
REMOTE_USER: u965251139
REMOTE_PORT: "65002"
TARGET: domains/tailwind.saasable.io/public_html/free
EXCLUDE: '/node_modules/'