Skip to content

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

Merge branch 'feature/staging-deploys' into staging

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

name: Deploy plugin to Staging
on:
push:
branches:
- staging
jobs:
Linting:
uses: ./.github/workflows/linting.yml

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

View workflow run for this annotation

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

Invalid workflow file

error parsing called workflow ".github/workflows/deploy-to-staging.yml" -> "./.github/workflows/linting.yml" (source branch with sha:d7085109d700920a42405d2d1124554ff12aeada) : workflow is not reusable as it is missing a `on.workflow_call` trigger
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