Skip to content

Merge branch 'feature/staging-deploys' into staging #4

Merge branch 'feature/staging-deploys' into staging

Merge branch 'feature/staging-deploys' into staging #4

name: Deploy plugin to Staging
on:
push:
branches:
- staging
jobs:
Linting:
uses: ./.github/workflows/linting.yml
concurrency:
group: staging-deploy
cancel-in-progress: true
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