Skip to content

Commit

Permalink
Merge branch 'feature/staging-deploys' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed Feb 6, 2025
2 parents aeeca2a + 7b9b975 commit c2bd065
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ on:
- staging

jobs:
Linting:
uses: ./.github/workflows/linting.yml

Deploy:
name: FTP-Deploy-Action
runs-on: ubuntu-latest

needs: Linting
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/
Expand Down

0 comments on commit c2bd065

Please sign in to comment.