-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1249 from equalizedigital/hotfix/slp-wealth-deploy
added: slp wealth deployment
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | ||
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 |