Skip to content

Commit 3fc0ba0

Browse files
committed
add preview
1 parent ce6df71 commit 3fc0ba0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/preview.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on: [status]
2+
jobs:
3+
circleci_artifacts_redirector_job:
4+
runs-on: ubuntu-latest
5+
name: Run CircleCI artifacts redirector
6+
steps:
7+
- name: GitHub Action step
8+
id: step1
9+
uses: larsoner/circleci-artifacts-redirector-action@master
10+
with:
11+
repo-token: ${{ secrets.GITHUB_TOKEN }}
12+
artifact-path: 0/build/latest/index.html
13+
circleci-jobs: build_page
14+
job-title: Check the rendered docs here!
15+
- name: Check the URL
16+
run: |
17+
curl --fail ${{ steps.step1.outputs.url }} | grep $GITHUB_SHA

0 commit comments

Comments
 (0)