Skip to content

Commit 928616f

Browse files
authored
Merge pull request #322 from mattip/preview
update circleci-artifacts-redirector workflow
2 parents e5d43e2 + daa0c72 commit 928616f

1 file changed

Lines changed: 19 additions & 14 deletions

File tree

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1-
name: Run CircleCI artifacts redirector for rendered HTML
1+
name: CircleCI artifact redirector
22
on: [status]
3+
4+
permissions: read-all
5+
36
jobs:
4-
circleci_artifacts_redirector_job:
5-
runs-on: ubuntu-latest
6-
name: Run CircleCI artifacts redirector
7-
steps:
8-
- name: GitHub Action step
9-
uses: scientific-python/circleci-artifacts-redirector-action@5d358ff96e96429a5c64a969bb4a574555439f4f # v1.3.1
10-
with:
11-
repo-token: ${{ secrets.GITHUB_TOKEN }}
12-
api-token: ${{ secrets.CIRCLE_TOKEN }}
13-
artifact-path: 0/_build/html/index.html
14-
circleci-jobs: build-docs
15-
domain: circle.scientific-python.dev
16-
job-title: "--> Rendering Preview <--"
7+
circleci_artifacts_redirector_job:
8+
runs-on: ubuntu-latest
9+
name: Run CircleCI artifacts redirector
10+
permissions:
11+
statuses: write
12+
steps:
13+
- name: GitHub Action step
14+
uses: scientific-python/circleci-artifacts-redirector-action@d35a82a1e5de3864f4cf9649eb7cedcedcfe8e09 # v1.3.2
15+
with:
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
api-token: ${{ secrets.CIRCLE_TOKEN }}
18+
artifact-path: 0/_build/html/index.html
19+
circleci-jobs: build-docs
20+
domain: circle.scientific-python.dev
21+
job-title: "--> Rendering Preview <--"

0 commit comments

Comments
 (0)