Skip to content

Commit

Permalink
Merge branch 'feature/staging-deploys' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed Feb 6, 2025
2 parents 8030409 + dc1ff1f commit c50c3bc
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 Staging

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 c50c3bc

Please sign in to comment.