Merge branch 'develop' into stage #372
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
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: "studentloanplannercombigscoots-stagingcom" | |
password: ${{ secrets.FTP_PASSWORD_STG }} | |
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 |