From 9a1f3ce5a4bb17c8d87071a08b14ea983b99ead8 Mon Sep 17 00:00:00 2001 From: Gertrude Abagale <110245619+gertrude-paystack@users.noreply.github.com> Date: Wed, 27 Sep 2023 14:42:50 +0000 Subject: [PATCH 1/6] Create workflows An action to deploy patches to WP 6.2.2 --- .github/workflows | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows diff --git a/.github/workflows b/.github/workflows new file mode 100644 index 0000000..2f52d2b --- /dev/null +++ b/.github/workflows @@ -0,0 +1,29 @@ +name: Deploy to WordPress.org +on: + release: + types: [published] +jobs: + tag: + name: New release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: WordPress Plugin Deploy + id: deploy + uses: 10up/action-wordpress-plugin-deploy@stable + with: + generate-zip: true + env: + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SLUG: paystack-sprout-invoices + - name: Upload release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} + with: + upload_url: ${{ github.event.release.upload_url }} + asset_path: ${{ steps.deploy.outputs.zip-path }} + asset_name: ${{ github.event.repository.name }}.zip + asset_content_type: application/zip From 2fe151f9db0550e6e2c2d6a3fcabf9d0c41426d6 Mon Sep 17 00:00:00 2001 From: Gertrude Abagale Date: Wed, 4 Oct 2023 12:48:31 +0000 Subject: [PATCH 2/6] New git action to automatically deploy patches to WP --- .paystack/assets/.github/workflows/deploy.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .paystack/assets/.github/workflows/deploy.yml diff --git a/.paystack/assets/.github/workflows/deploy.yml b/.paystack/assets/.github/workflows/deploy.yml new file mode 100644 index 0000000..2f52d2b --- /dev/null +++ b/.paystack/assets/.github/workflows/deploy.yml @@ -0,0 +1,29 @@ +name: Deploy to WordPress.org +on: + release: + types: [published] +jobs: + tag: + name: New release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: WordPress Plugin Deploy + id: deploy + uses: 10up/action-wordpress-plugin-deploy@stable + with: + generate-zip: true + env: + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SLUG: paystack-sprout-invoices + - name: Upload release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} + with: + upload_url: ${{ github.event.release.upload_url }} + asset_path: ${{ steps.deploy.outputs.zip-path }} + asset_name: ${{ github.event.repository.name }}.zip + asset_content_type: application/zip From 5cacfa380dbae773f03c406d27b74dae8335a9b6 Mon Sep 17 00:00:00 2001 From: Gertrude Abagale Date: Wed, 4 Oct 2023 14:56:42 +0000 Subject: [PATCH 3/6] deleting the actions due to path error --- .github/workflows | 29 ------------------- .paystack/assets/.github/workflows/deploy.yml | 29 ------------------- 2 files changed, 58 deletions(-) delete mode 100644 .github/workflows delete mode 100644 .paystack/assets/.github/workflows/deploy.yml diff --git a/.github/workflows b/.github/workflows deleted file mode 100644 index 2f52d2b..0000000 --- a/.github/workflows +++ /dev/null @@ -1,29 +0,0 @@ -name: Deploy to WordPress.org -on: - release: - types: [published] -jobs: - tag: - name: New release - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: WordPress Plugin Deploy - id: deploy - uses: 10up/action-wordpress-plugin-deploy@stable - with: - generate-zip: true - env: - SVN_USERNAME: ${{ secrets.SVN_USERNAME }} - SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - SLUG: paystack-sprout-invoices - - name: Upload release asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ${{ steps.deploy.outputs.zip-path }} - asset_name: ${{ github.event.repository.name }}.zip - asset_content_type: application/zip diff --git a/.paystack/assets/.github/workflows/deploy.yml b/.paystack/assets/.github/workflows/deploy.yml deleted file mode 100644 index 2f52d2b..0000000 --- a/.paystack/assets/.github/workflows/deploy.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Deploy to WordPress.org -on: - release: - types: [published] -jobs: - tag: - name: New release - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: WordPress Plugin Deploy - id: deploy - uses: 10up/action-wordpress-plugin-deploy@stable - with: - generate-zip: true - env: - SVN_USERNAME: ${{ secrets.SVN_USERNAME }} - SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - SLUG: paystack-sprout-invoices - - name: Upload release asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ${{ steps.deploy.outputs.zip-path }} - asset_name: ${{ github.event.repository.name }}.zip - asset_content_type: application/zip From 7fc78c3640dce0fe418b1bd3a0bedce087f81c4c Mon Sep 17 00:00:00 2001 From: Gertrude Abagale <110245619+gertrude-paystack@users.noreply.github.com> Date: Wed, 4 Oct 2023 15:00:17 +0000 Subject: [PATCH 4/6] Delete .paystack/assets/.github/workflows/deploy.yml deleted the yaml file --- .paystack/assets/.github/workflows/deploy.yml | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 .paystack/assets/.github/workflows/deploy.yml diff --git a/.paystack/assets/.github/workflows/deploy.yml b/.paystack/assets/.github/workflows/deploy.yml deleted file mode 100644 index 2f52d2b..0000000 --- a/.paystack/assets/.github/workflows/deploy.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Deploy to WordPress.org -on: - release: - types: [published] -jobs: - tag: - name: New release - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: WordPress Plugin Deploy - id: deploy - uses: 10up/action-wordpress-plugin-deploy@stable - with: - generate-zip: true - env: - SVN_USERNAME: ${{ secrets.SVN_USERNAME }} - SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - SLUG: paystack-sprout-invoices - - name: Upload release asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ${{ steps.deploy.outputs.zip-path }} - asset_name: ${{ github.event.repository.name }}.zip - asset_content_type: application/zip From 1d467471a1a2672c93a0a23a8e1f72502b39fb64 Mon Sep 17 00:00:00 2001 From: Gertrude Abagale <110245619+gertrude-paystack@users.noreply.github.com> Date: Wed, 4 Oct 2023 15:01:25 +0000 Subject: [PATCH 5/6] Delete .github/workflows recreating the path for the git action --- .github/workflows | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows diff --git a/.github/workflows b/.github/workflows deleted file mode 100644 index 2f52d2b..0000000 --- a/.github/workflows +++ /dev/null @@ -1,29 +0,0 @@ -name: Deploy to WordPress.org -on: - release: - types: [published] -jobs: - tag: - name: New release - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: WordPress Plugin Deploy - id: deploy - uses: 10up/action-wordpress-plugin-deploy@stable - with: - generate-zip: true - env: - SVN_USERNAME: ${{ secrets.SVN_USERNAME }} - SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - SLUG: paystack-sprout-invoices - - name: Upload release asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ${{ steps.deploy.outputs.zip-path }} - asset_name: ${{ github.event.repository.name }}.zip - asset_content_type: application/zip From 6119c8805f385f98fdfec23bf9f73e9af4790841 Mon Sep 17 00:00:00 2001 From: Gertrude Abagale <110245619+gertrude-paystack@users.noreply.github.com> Date: Thu, 5 Oct 2023 07:59:54 +0000 Subject: [PATCH 6/6] Create deploy.yml An action to deploy patches to WP --- .github/workflows/deploy.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..2f52d2b --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,29 @@ +name: Deploy to WordPress.org +on: + release: + types: [published] +jobs: + tag: + name: New release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: WordPress Plugin Deploy + id: deploy + uses: 10up/action-wordpress-plugin-deploy@stable + with: + generate-zip: true + env: + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SLUG: paystack-sprout-invoices + - name: Upload release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} + with: + upload_url: ${{ github.event.release.upload_url }} + asset_path: ${{ steps.deploy.outputs.zip-path }} + asset_name: ${{ github.event.repository.name }}.zip + asset_content_type: application/zip