From f231aa9e7ab27734ebe8491a3ba080624f3355f5 Mon Sep 17 00:00:00 2001 From: Varun Date: Thu, 9 Apr 2020 20:52:04 +0530 Subject: [PATCH] Updated Github Actions File. --- .github/workflows/{newrelease.yml => new-release.yml} | 10 ++++------ ...-documentation-generator.yml => push-to-master.yml} | 8 ++++---- 2 files changed, 8 insertions(+), 10 deletions(-) rename .github/workflows/{newrelease.yml => new-release.yml} (73%) rename .github/workflows/{php-documentation-generator.yml => push-to-master.yml} (67%) diff --git a/.github/workflows/newrelease.yml b/.github/workflows/new-release.yml similarity index 73% rename from .github/workflows/newrelease.yml rename to .github/workflows/new-release.yml index 987253f..77957cf 100644 --- a/.github/workflows/newrelease.yml +++ b/.github/workflows/new-release.yml @@ -1,4 +1,4 @@ -name: New Release +name: On Release on: push: @@ -6,20 +6,18 @@ on: - "*" jobs: - build: + WordPress_Publisher: runs-on: ubuntu-latest steps: - - name: Checking Out Plugin Data + - name: Fetching Repository uses: actions/checkout@v1 - name: Installing Composer uses: pxgamer/composer-action@master with: command: install --no-dev - - name: WordPress Plugin Deploy + - name: Publishing Release To WordPress uses: varunsridharan/action-wp-org-deploy@master with: WORDPRESS_PASSWORD: ${{ secrets.WP_PASSWORD }} WORDPRESS_USERNAME: ${{ secrets.WP_USERNAME }} SLUG: ${{ secrets.WP_SLUG }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/php-documentation-generator.yml b/.github/workflows/push-to-master.yml similarity index 67% rename from .github/workflows/php-documentation-generator.yml rename to .github/workflows/push-to-master.yml index 5332107..82363e7 100644 --- a/.github/workflows/php-documentation-generator.yml +++ b/.github/workflows/push-to-master.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 }}