Skip to content

Commit

Permalink
chore: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonTheAdams committed Jul 6, 2022
1 parent b0a9162 commit b6b08a5
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/generate-zip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Generate Plugin Zip

on:
workflow_dispatch:
inputs:
ref:
description: 'Git Commit Ref (branch, tag, or hash)'
required: true
type: string

jobs:
build:
uses: impress-org/givewp-github-actions/.github/workflows/generate-zip.yml@master
with:
ref: ${{ github.event.inputs.ref }}
plugin_slug: givewp-donation-widgets-for-elementor
12 changes: 12 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Build Plugin Pre-Release

on:
release:
types: [ prereleased ]

jobs:
build:
uses: impress-org/givewp-github-actions/.github/workflows/pre-release.yml@master
with:
plugin_slug: givewp-donation-widgets-for-elementor
zip_name: givewp-donation-widgets-for-elementor
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release to WordPress.org

on:
release:
types: [ released ]

jobs:
build:
uses: impress-org/givewp-github-actions/.github/workflows/wp-org-release.yml@master
with:
wp_org_slug: givewp-donation-widgets-for-elementor
zip_name: givewp-donation-widgets-for-elementor
text_domain: dw4elementor
install_composer_packages: false
install_npm_packages: false
secrets:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SLACK_ANNOUNCEMENT_WEBHOOK: ${{ secrets.SLACK_ANNOUNCEMENT_WEBHOOK }}

0 comments on commit b6b08a5

Please sign in to comment.