Skip to content

Commit

Permalink
Merge branch 'feature/staging-deploys' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed Feb 6, 2025
2 parents 8030409 + ed7ab50 commit 5c40adc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy plugin to Production

on:
push:
branches:
- staging

jobs:
Linting:
uses: ./.github/workflows/linting.yml

Deploy:
name: FTP-Deploy-Action
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: FTP-Deploy-Action
uses: Automattic/[email protected]
with:
ftp-server: sftp://sftp.wp.com/htdocs/wp-content/plugins/custom-plugin/
ftp-username: ${{ secrets.STAGING_SFTP_USER }}
ftp-password: ${{ secrets.STAGING_SFTP_PASSWORD }}
git-ftp-args: --insecure
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches:
- trunk
- staging

jobs:
php:
Expand Down

0 comments on commit 5c40adc

Please sign in to comment.