From b0fbcc8fa733bcbd12e4154596c3259254cb90f6 Mon Sep 17 00:00:00 2001 From: Varun Date: Thu, 9 Apr 2020 12:42:27 +0530 Subject: [PATCH] Updated. --- .gitattributes | 7 +++++++ .github/FUNDING.yml | 2 +- ...ocumentation-generator.yml => on-push.yml} | 8 ++++---- .github/workflows/on-release.yml | 20 +++++++++++++++++++ envato_assets_exclude_list.txt | 2 ++ 5 files changed, 34 insertions(+), 5 deletions(-) rename .github/workflows/{php-documentation-generator.yml => on-push.yml} (67%) create mode 100644 .github/workflows/on-release.yml create mode 100644 envato_assets_exclude_list.txt diff --git a/.gitattributes b/.gitattributes index a2533bf..b479314 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,3 +6,10 @@ gulpfile.js export-ignore package.json export-ignore package-lock.json export-ignore src/ export-ignore +.github/ export-ignore +.wordpress-org/ export-ignore +.all-contributorsrc export-ignore +.wporgignore +./src/ export-ignore +composer.lock export-ignore +wp-pot.json export-ignore diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index d11a709..c83d177 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: [varunsridharan]# Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +github: [varunsridharan] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username diff --git a/.github/workflows/php-documentation-generator.yml b/.github/workflows/on-push.yml similarity index 67% rename from .github/workflows/php-documentation-generator.yml rename to .github/workflows/on-push.yml index 5332107..6655478 100644 --- a/.github/workflows/php-documentation-generator.yml +++ b/.github/workflows/on-push.yml @@ -1,4 +1,4 @@ -name: PHP ApiGen +name: On Push on: push: @@ -6,12 +6,12 @@ on: - master jobs: - apigen: + PHP-DOCS-ApiGen: runs-on: ubuntu-latest steps: - - name: Checking Out Repo Data + - name: Fetching Repository uses: actions/checkout@v1 - - name: PHP Docs Generator + - name: Generating PHP Documentation uses: varunsridharan/action-apigen@1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml new file mode 100644 index 0000000..e23c195 --- /dev/null +++ b/.github/workflows/on-release.yml @@ -0,0 +1,20 @@ +name: On Release + +on: + push: + tags: + - "*" + +jobs: + Envato Publisher: + runs-on: ubuntu-latest + steps: + - name: Fetching Repository + - uses: actions/checkout@v1 + - name: Publishing Release To Envato + uses: varunsridharan/action-envato-publisher@master + with: + envato_username: ${{ secrets.envato_username }} + envato_personal_token: ${{ secrets.envato_token }} + custom_command: "composer install --no-dev" + exclude_list: "src/ gulpfile.js gulp-config.js composer.lock composer.json wp-pot.json envato_assets_exclude_list.txt .envatoassets .gitignore .editorconfig vendor/*/*/README.md vendor/*/*/.gitignore" diff --git a/envato_assets_exclude_list.txt b/envato_assets_exclude_list.txt new file mode 100644 index 0000000..25d5634 --- /dev/null +++ b/envato_assets_exclude_list.txt @@ -0,0 +1,2 @@ +screenshots/* +psd/*.zip