Skip to content

Commit 7c4a03e

Browse files
authored
Updating readme
1 parent 9712964 commit 7c4a03e

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
1-
# github-url-resolver-action
1+
# github-url-resolver-action
2+
3+
An action that can resolve the type and associated URLs for a GitHub instance.
4+
5+
## Parameters
6+
7+
* `github_base_url`: The base URL of the GitHub instance to get the type and URLs for
8+
9+
## Outputs
10+
11+
* `github_type`: The type of GitHub instance
12+
* `base_url`: The BASE URL for accessing the instance
13+
* `api_url`: The API URL for the instance
14+
* `terraform_api_url`: The API URL to leverage for terraform github provider to access the APIs
15+
* `container_registry_url`: The URL for the GitHub Container Registry for the instance
16+
17+
## Examples
18+
19+
```
20+
- name: Get Urls
21+
uses: octodemo-resources/github-url-resolver-action@v1
22+
```
23+
24+
```
25+
- name: Get Urls
26+
uses: octodemo-resources/github-url-resolver-action@v1
27+
with:
28+
github_base_url: 'https://github.com'
29+
```

0 commit comments

Comments
 (0)