This commit is contained in:
Bryan Gerlach
2024-10-07 22:17:01 -05:00
parent 56e9d1e944
commit 43a0052e94
2 changed files with 30 additions and 11 deletions

View File

@@ -145,6 +145,7 @@ def generator_view(request):
extras['urlLink'] = urlLink
extras['delayFix'] = 'true' if delayFix else 'false'
extras['version'] = version
extras['rdgen'] = 'true'
extra_input = json.dumps(extras)
####from here run the github action, we need user, repo, access token.
@@ -274,7 +275,7 @@ def startgh(request):
#print(request)
data_ = json.loads(request.body)
####from here run the github action, we need user, repo, access token.
url = 'https://api.github.com/repos/'+_settings.GHUSER+'/rdgen/actions/workflows/generator.yml/dispatches'
url = 'https://api.github.com/repos/'+_settings.GHUSER+'/rdgen/actions/workflows/generator-windows.yml/dispatches'
data = {
"ref":"master",
"inputs":{