Skip to content

Commit 1225cf6

Browse files
bsipoczstefanv
andauthored
DOC: add the 'domain' option to the docs (#80)
Co-authored-by: Stefan van der Walt <[email protected]>
1 parent 17a9d98 commit 1225cf6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ GitHub Action to add a GitHub status link to a CircleCI artifact.
44

55
## Example usage
66

7-
Sample `.github/workflows/main.yml`:
7+
Sample `.github/workflows/circleci_redirect.yml`:
8+
89

910
```YAML
1011
on: [status]
@@ -28,6 +29,7 @@ jobs:
2829
artifact-path: 0/test_artifacts/root_artifact.md
2930
circleci-jobs: build_doc
3031
job-title: Check the rendered docs here!
32+
domain:
3133
- name: Check the URL
3234
if: github.event.status != 'pending'
3335
run: |
@@ -57,7 +59,10 @@ jobs:
5759
- The `job-title` corresponds to the name of the action job as it will appear
5860
on github. It is **not** the circle-ci job you want the artifacts for
5961
(this is `circleci-jobs`). This field is optional.
60-
- The action has an outtput ``url`` that you can use in downstream steps, but
62+
- Use `domain` to set where the CircleCI artifacts are hosted. It defaults to CircleCI, but the
63+
[Scientific Python CircleCI proxy](https://github.com/scientific-python/circleci-proxy) can be set, too,
64+
as it addresses some routing issues for mystmd generated outputs.
65+
- The action has an output `url` that you can use in downstream steps, but
6166
this URL will only point to a valid artifact once the job is complete, i.e.,
6267
`github.event.status` is either `'success'`, `'fail'`, or (maybe) `'error'`,
6368
not `'pending'`.

0 commit comments

Comments
 (0)