Skip to content

Commit

Permalink
Initial dotorg deploy workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpagz committed Aug 17, 2024
1 parent 7ac15d3 commit 401d1bc
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/.github export-ignore
/.wordpress-org export-ignore
/node_modules export-ignore

/.* export-ignore
/composer.lock export-ignore
/package-lock.json export-ignore
/package.json export-ignore
/README.md export-ignore
27 changes: 27 additions & 0 deletions .github/workflows/push-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy to WordPress.org

on:
workflow_dispatch:

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

- name: Install Composer Dependencies
run: composer install --no-dev

- name: Install Node Modules and Build Assets
run: |
npm install
npm run build
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SLUG: query-loop-load-more
DRY_RUN: true

0 comments on commit 401d1bc

Please sign in to comment.