Skip to content

Commit

Permalink
Merge pull request #6 from Automattic/feature/staging-deploys
Browse files Browse the repository at this point in the history
Adds staging deploys that rely on linting to pass
  • Loading branch information
ryanwelcher authored Feb 7, 2025
2 parents c50c3bc + 360a72f commit afb3769
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-to-prod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Deploy plugin to Production

concurrency: production

on:
workflow_dispatch:
workflow_run:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Deploy plugin to Staging

concurrency: staging

on:
push:
branches:
Expand All @@ -12,7 +14,7 @@ jobs:
Deploy:
name: FTP-Deploy-Action
runs-on: ubuntu-latest

needs: Linting
steps:
- uses: actions/checkout@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Static Linting

on:
workflow_call:
pull_request:
push:
branches:
Expand Down

0 comments on commit afb3769

Please sign in to comment.