Skip to content

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

Merge branch 'feature/staging-deploys' into staging

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

name: Deploy plugin to Staging

Check failure on line 1 in .github/workflows/deploy-to-staging.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-to-staging.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: Linting
concurrency: staging
on:
push:
branches:
- staging
jobs:
Linting:
Deploy:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Linting
id: linting
uses: ./.github/workflows/linting.yml
- name: FTP-Deploy-Action
if: steps.linting.outcome == 'success'
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