Skip to content

Commit c5c0695

Browse files
committed
Merge branch 'develop'
2 parents 5156878 + 28e4920 commit c5c0695

38 files changed

+22163
-2916
lines changed

.distignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/.git
2+
.gitignore
3+
4+
/.idea
5+
/.github
6+
7+
/tests
8+
/node_modules
9+
/assets/src
10+
/assets/dist/**/*.map
11+
/vendor/bin
12+
/vendor/composer/installers
13+
/vendor/**/*.phar
14+
15+
.editorconfig
16+
composer.json
17+
composer.lock
18+
package.json
19+
package-lock.json
20+
CHANGELOG.md
21+
README.md
22+
readme.md
23+
webpack.mix.js
24+
25+
# GH Action files
26+
DOCKER_ENV
27+
docker_tag
28+
output.log

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 4
8+
tab_width = 4
9+
indent_style = space
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.txt]
14+
trim_trailing_whitespace = false

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/generate-zip.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Generate Plugin Zip
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
ref:
7+
description: 'Git Commit Ref (branch, tag, or hash)'
8+
required: true
9+
type: string
10+
11+
jobs:
12+
build:
13+
uses: impress-org/givewp-github-actions/.github/workflows/generate-zip.yml@master
14+
with:
15+
ref: ${{ github.event.inputs.ref }}
16+
plugin_slug: give-google-analytics

.github/workflows/pre-release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Build Plugin Pre-Release
2+
3+
on:
4+
release:
5+
types: [ prereleased ]
6+
7+
jobs:
8+
build:
9+
uses: impress-org/givewp-github-actions/.github/workflows/pre-release.yml@master
10+
with:
11+
plugin_slug: give-google-analytics
12+
zip_name: give-google-analytics

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release to GiveWP.com
2+
3+
on:
4+
release:
5+
types: [ released ]
6+
7+
jobs:
8+
build:
9+
uses: impress-org/givewp-github-actions/.github/workflows/givewp-release.yml@master
10+
with:
11+
plugin_slug: give-google-analytics
12+
zip_name: give-google-analytics
13+
secrets:
14+
GIVEWP_DOWNLOADS_PATH: ${{ secrets.GIVEWP_DOWNLOADS_PATH }}
15+
GIVEWP_DOWNLOADS_URI: ${{ secrets.GIVEWP_DOWNLOADS_URI }}
16+
GIVEWP_CLOUDFLARE_TOKEN: ${{ secrets.GIVEWP_CLOUDFLARE_TOKEN }}
17+
GIVEWP_CLOUDFLARE_ZONE: ${{ secrets.GIVEWP_CLOUDFLARE_ZONE }}
18+
WEBSITE_DEPLOY_HOST: ${{ secrets.WEBSITE_DEPLOY_HOST }}
19+
WEBSITE_DEPLOY_USER: ${{ secrets.WEBSITE_DEPLOY_USER }}
20+
WEBSITE_DEPLOY_PRIVATE_KEY: ${{ secrets.WEBSITE_DEPLOY_PRIVATE_KEY }}
21+
EDD_PRODUCT_ID: ${{ secrets.EDD_PRODUCT_ID }}
22+
SLACK_ANNOUNCEMENT_WEBHOOK: ${{ secrets.SLACK_ANNOUNCEMENT_WEBHOOK }}

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
node_modules
2+
3+
vendor
4+
5+
assets/dist
6+
7+
languages/*
8+
!languages/.gitkeep
9+

assets/js/give-ga-settings.js

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)