Skip to content

Commit

Permalink
create a non-dry-run deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpagz committed Sep 21, 2024
1 parent 78c8922 commit 6c8c408
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/push-deploy-dry-run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy to WordPress.org

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: WordPress Plugin Deploy (Dry Run)
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SLUG: wpjm-jooble-feed
DRY_RUN: 'true'
3 changes: 1 addition & 2 deletions .github/workflows/push-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v3

- name: WordPress Plugin Deploy (Dry Run)
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SLUG: wpjm-jooble-feed
DRY_RUN: 'true'

0 comments on commit 6c8c408

Please sign in to comment.