Skip to content

Deploy plugin to Production #1

Deploy plugin to Production

Deploy plugin to Production #1

name: Deploy plugin to Production
on:
workflow_dispatch:
workflow_run:
workflows: ['Static Linting']
types:
- completed
jobs:
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.PROD_SFTP_USER }}
ftp-password: ${{ secrets.PROD_SFTP_PASSWORD }}
git-ftp-args: --insecure