Skip to content

free theme update (#3) #11

free theme update (#3)

free theme update (#3) #11

Workflow file for this run

name: Node - SSH deploy
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [main]
pull_request:
branches: [main]
jobs:
sftp-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v1
- name: Install Node.js 14
uses: actions/setup-node@v1
with:
node-version: "14.x"
- name: 🔨 Build Project
run: |
yarn
gulp build-prod
- name: 📂 Deploy to Server
uses: easingthemes/[email protected]
env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
# ARGS: "-rltgoDzvO --delete"
SOURCE: "dist/"
REMOTE_HOST: 192.34.62.123
REMOTE_USER: dashboardkit
TARGET: public_html/free-dashboardkit
EXCLUDE: "/node_modules/"