From 0039b038bcc14d9ff0723ae301952bb96d717dcd Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 21:20:11 -0400 Subject: Create send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/send_autobuild_webdocs_ping.yml diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml new file mode 100644 index 0000000..d392450 --- /dev/null +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -0,0 +1,19 @@ +name: Remote Dispatch Action Initiator + +on: + push: + +jobs: + ping-pong: + runs-on: ubuntu-latest + steps: + - name: PING - Dispatch initiating repository event + if: github.event.action != 'pong' + run: | + curl -X POST https://api.github.com/repos/marcnuri-demo/actions-remote-dispatch-b/dispatches \ + -H 'Accept: application/vnd.github.everest-preview+json' \ + curl -x post https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches \ + -h 'accept: application/vnd.github.everest-preview+json' \ + -u ${{ secrets.access_token }} \ + --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' + -- cgit v1.2.3 From 6639c77c640a1e636f1056f93098d4f19ee4e2c9 Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 21:36:41 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index d392450..595ce31 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -10,7 +10,7 @@ jobs: - name: PING - Dispatch initiating repository event if: github.event.action != 'pong' run: | - curl -X POST https://api.github.com/repos/marcnuri-demo/actions-remote-dispatch-b/dispatches \ + curl -X post https://api.github.com/repos/marcnuri-demo/actions-remote-dispatch-b/dispatches \ -H 'Accept: application/vnd.github.everest-preview+json' \ curl -x post https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches \ -h 'accept: application/vnd.github.everest-preview+json' \ -- cgit v1.2.3 From 8d7b7cd295782d744b4be4e342a89fe2bb75edca Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 21:45:38 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index 595ce31..39ca722 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -10,8 +10,6 @@ jobs: - name: PING - Dispatch initiating repository event if: github.event.action != 'pong' run: | - curl -X post https://api.github.com/repos/marcnuri-demo/actions-remote-dispatch-b/dispatches \ - -H 'Accept: application/vnd.github.everest-preview+json' \ curl -x post https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches \ -h 'accept: application/vnd.github.everest-preview+json' \ -u ${{ secrets.access_token }} \ -- cgit v1.2.3 From e568a1c3707f96cfe6dee3bb45ed62100b8eb1b2 Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 21:49:54 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index 39ca722..e785b10 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -10,8 +10,5 @@ jobs: - name: PING - Dispatch initiating repository event if: github.event.action != 'pong' run: | - curl -x post https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches \ - -h 'accept: application/vnd.github.everest-preview+json' \ - -u ${{ secrets.access_token }} \ - --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' + curl -x post https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -h 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' -- cgit v1.2.3 From 806e87a2b18dd7dc3990eea8b421de95e4fb99a0 Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 21:52:21 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index e785b10..7343426 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -10,5 +10,5 @@ jobs: - name: PING - Dispatch initiating repository event if: github.event.action != 'pong' run: | - curl -x post https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -h 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' + curl -X post https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -h 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' -- cgit v1.2.3 From e14e0abae4ee03490947e65b177be284ef2491ed Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 21:53:14 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index 7343426..cd833c6 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -10,5 +10,5 @@ jobs: - name: PING - Dispatch initiating repository event if: github.event.action != 'pong' run: | - curl -X post https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -h 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' + curl -X POST https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -h 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' -- cgit v1.2.3 From c2d40ba388afc718ae22bfbbd2237524424874b1 Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 21:57:16 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index cd833c6..03c815c 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -9,6 +9,5 @@ jobs: steps: - name: PING - Dispatch initiating repository event if: github.event.action != 'pong' - run: | - curl -X POST https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -h 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' + run: curl -X POST https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -h 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' -- cgit v1.2.3 From 505c9942c3aedde3e2a5988f3e888448d732dc08 Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 22:01:03 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index 03c815c..ee40ca2 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -9,5 +9,5 @@ jobs: steps: - name: PING - Dispatch initiating repository event if: github.event.action != 'pong' - run: curl -X POST https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -h 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' + run: curl -X POST https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -H 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' -- cgit v1.2.3 From bc6b28571ad5c021fdf7396e0acc740fc9fd4004 Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 22:03:00 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index ee40ca2..06df7e2 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -11,3 +11,4 @@ jobs: if: github.event.action != 'pong' run: curl -X POST https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -H 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' + -- cgit v1.2.3 From 193ee00eae296ecbc1f327663926f007caa135af Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 22:03:56 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index 06df7e2..02837a1 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -9,6 +9,5 @@ jobs: steps: - name: PING - Dispatch initiating repository event if: github.event.action != 'pong' - run: curl -X POST https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -H 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' - - + run: | + curl -X post https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -H 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' -- cgit v1.2.3 From 9c64655189d2a5e611c4288c3bea1393af22285a Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 22:16:31 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index 02837a1..ee08c6e 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -10,4 +10,9 @@ jobs: - name: PING - Dispatch initiating repository event if: github.event.action != 'pong' run: | - curl -X post https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches -H 'accept: application/vnd.github.everest-preview+json' -u ${{ secrets.access_token }} --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' + curl -X post https://api.github.com/repos/CatgirlsRodeo/dev.catgirls.rodeo/dispatches \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.access_token }} \ + -d '{"event_type":"on-demand-test","client_payload":{"unit":false,"integration":true}}' + + -- cgit v1.2.3 From deac8e9970393624b57cde65a197d4b451dd1c62 Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 22:17:15 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index ee08c6e..5d60d0c 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -12,7 +12,7 @@ jobs: run: | curl -X post https://api.github.com/repos/CatgirlsRodeo/dev.catgirls.rodeo/dispatches \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.access_token }} \ + -H "Authorization: Bearer ${{ secrets.access_token }}" \ -d '{"event_type":"on-demand-test","client_payload":{"unit":false,"integration":true}}' -- cgit v1.2.3 From becfba1f68c1ccaa7ce688790f4e00d1caae6275 Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 23:04:29 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 39 +++++++++++++++++------ 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index 5d60d0c..1bf5e0c 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -1,18 +1,39 @@ -name: Remote Dispatch Action Initiator +# This is a basic workflow to help you get started with Actions +name: CI + +# Controls when the workflow will run on: + # Triggers the workflow on push or pull request events but only for the "main" branch push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: +# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - ping-pong: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: PING - Dispatch initiating repository event - if: github.event.action != 'pong' - run: | - curl -X post https://api.github.com/repos/CatgirlsRodeo/dev.catgirls.rodeo/dispatches \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.access_token }}" \ - -d '{"event_type":"on-demand-test","client_payload":{"unit":false,"integration":true}}' + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + - name: remote stuff + run: | + curl -XPOST -u "${{ secrets.ACCESS_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/fabyanMikhael/TestA/dispatches --data '{"event_type": "build_application"}' + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. -- cgit v1.2.3 From ea2b319f29507eadb14167ff60a474f874450dcf Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 23:05:06 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index 1bf5e0c..d614178 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -31,7 +31,7 @@ jobs: - name: remote stuff run: | - curl -XPOST -u "${{ secrets.ACCESS_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/fabyanMikhael/TestA/dispatches --data '{"event_type": "build_application"}' + curl -XPOST -u "${{ secrets.ACCESS_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/CatgirlsRodeo/dev.catgirls.rodeo/dispatches --data '{"event_type": "build_application"}' # Runs a set of commands using the runners shell - name: Run a multi-line script run: | -- cgit v1.2.3 From 2eac016befebf6153cc3306ac1d584e34da29f6f Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 23:06:07 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index d614178..91129c9 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -31,7 +31,7 @@ jobs: - name: remote stuff run: | - curl -XPOST -u "${{ secrets.ACCESS_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/CatgirlsRodeo/dev.catgirls.rodeo/dispatches --data '{"event_type": "build_application"}' + curl -XPOST -u "realtradam:${{ secrets.ACCESS_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/CatgirlsRodeo/dev.catgirls.rodeo/dispatches --data '{"event_type": "build_application"}' # Runs a set of commands using the runners shell - name: Run a multi-line script run: | -- cgit v1.2.3 From 1b25d340de195490f3a4ff0551308f5d8420d8d0 Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 23:20:16 -0400 Subject: Update send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml index 91129c9..b0bc009 100644 --- a/.github/workflows/send_autobuild_webdocs_ping.yml +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -1,14 +1,12 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: "Send Autobuild Webdocs Ping" # Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the "main" branch push: branches: [ "main" ] - pull_request: - branches: [ "main" ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -25,15 +23,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - - name: remote stuff run: | - curl -XPOST -u "realtradam:${{ secrets.ACCESS_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/CatgirlsRodeo/dev.catgirls.rodeo/dispatches --data '{"event_type": "build_application"}' - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. + curl -XPOST -u "realtradam:${{ secrets.ACCESS_TOKEN }}" -H "Accept: application/vnd.github+json" -H "Content-Type: application/json" https://api.github.com/repos/CatgirlsRodeo/dev.catgirls.rodeo/dispatches --data '{"event_type": "build_application"}' + -- cgit v1.2.3