-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (30 loc) · 1.56 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<head><link rel="stylesheet" href="https://unpkg.com/@primer/css/dist/primer.css">
<script src="./assets/workflow_runner.js" defer></script>
</head>
<div class="color-bg-canvas-inset pb-6">
<header class="container-lg mx-auto p-responsive d-flex flex-items-center flex-wrap flex-md-nowrap pt-3 pb-6">
<div>
<a class="text-white mr-3" href="https://github.com/MarketingPipeline/GitHub-Action-Runner/">Source Code</a>
</div>
</header>
<div class="container-lg mx-auto text-white py-6 p-responsive">
<h1 class="f00-light">Run / Trigger GitHub Action </h1>
<p class="f3 mb-4">Example of running GitHub action on your own website / running GitHub action via API call - built with JavaScript</p>
<a class="btn btn-transparent link-hover-blue text-normal py-2 mb-6 f4" href="https://github.com/MarketingPipeline/GitHub-Action-Runner/">View Source On GitHub</a>
<div class="container-lg mx-auto py-6 p-responsive">
<div class="markdown-body">
<h1>Get Started</h1>
<ul class="f3 py-4">
<div id="input-section" >
<form action="javascript:void(0);" onsubmit="makeGitHubrequest()">
<label for="name">Github Username</label>
<input class="form-control" value="" type="text" id="github_username" required="required"/>
<label for="email">Repo Name</label>
<input class="form-control" value="" id="repo_name" type="text" id="email" required="required" />
<button class="btn" id="good-api-call-button" >Click to fetch workflows</button>
</form>
</div>
<div id="error-message"></div>
<div id="api-response"></div>
</div>
</div>