Skip to content

Commit

Permalink
Merge pull request #1249 from equalizedigital/hotfix/slp-wealth-deploy
Browse files Browse the repository at this point in the history
added: slp wealth deployment
  • Loading branch information
SteveJonesDev authored Aug 20, 2024
2 parents cf449ef + cfd5d03 commit a2921fb
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/master-slp-wealth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy Files via FTP (SLP Wealth Production)

on:
pull_request:
branches:
- master
types: [closed]

jobs:
ftp-deploy:
name: "Deploy via FTP"
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: "Checkout"
uses: actions/checkout@v3

- name: "FTP Deploy"
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: "198.175.25.37"
username: "slpwealthcom"
password: ${{ secrets.FTP_PASSWORD_PRD_SLP_WEALTH }}
local-dir: "./" # Set to the local directory you want to deploy
server-dir: "/public/wp-content/themes/student-loan-planner-theme/" # Update with your server path
31 changes: 31 additions & 0 deletions .github/workflows/stage-slp-wealth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy Files via FTP (Staging)

on:
push:
branches:
- stage
paths:
- '**' # Trigger for any change in any file
workflow_dispatch:
inputs:
sync:
description: "File synchronization"
required: true
default: "delta"

jobs:
ftp-deploy:
name: "Deploy via FTP"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v3

- name: "FTP Deploy"
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: "198.175.25.37"
username: "slpwealthcombigscoots-stagingcom"
password: ${{ secrets.FTP_PASSWORD_STG_SLP_WEALTH }}
local-dir: "./" # Set to the local directory you want to deploy
server-dir: "/public/wp-content/themes/student-loan-planner-theme/" # Update with your server path

0 comments on commit a2921fb

Please sign in to comment.