Skip to content

Commit

Permalink
try call via github api
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Koch committed Mar 21, 2024
1 parent 8ce790c commit 25aea17
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/dump_data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Dump Wepage Collected Data

on:
repository_dispatch:
types: [dump_data]

jobs:
dump_data_job:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Berechne Volumen
run: |
# Die übergebenen Parameter aus dem JSON-Payload erhalten
rhsm_username=${{ github.event.client_payload.rhsm_username }}
rhsm_password=${{ github.event.client_payload.rhsm_password }}
# Ergebnis ausgeben
echo "Der Nutzer ist ${rhsm_username}/${rhsm_password}"
3 changes: 2 additions & 1 deletion docs/_includes/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ function nextPrev(n) {
// ... the form gets submitted:
//document.getElementById("regForm").submit()
currentTab = 1;
submit_AAP();
//submit_AAP();
call_gihub_api();
}
// Otherwise, display the correct tab:
showTab(currentTab);
Expand Down

0 comments on commit 25aea17

Please sign in to comment.