Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2.1
jobs:
build_book:
build-book:
docker:
- image: cimg/python:3.9
steps:
Expand All @@ -22,6 +22,6 @@ jobs:
# Tell CircleCI to use this workflow when it builds the site
workflows:
version: 2
build_book:
build-book:
jobs:
- build_book
- build-book
8 changes: 6 additions & 2 deletions .github/workflows/artifact_redirect.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: CircleCI artifacts redirector
on: [status]

concurrency:
group: docs-preview-${{ github.ref }}
cancel-in-progress: true

jobs:
circleci_artifacts_redirector_job:
runs-on: ubuntu-latest
# For testing this action on a fork, remove the "github.repository =="" condition.
if: "github.repository == 'pyOpenSci/python-package-guide' && github.event.context == 'ci/circleci: build_book'"
if: github.event.context == 'ci/circleci: build-book'"
permissions:
statuses: write
name: Run CircleCI artifacts redirector
Expand All @@ -17,5 +21,5 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CIRCLECI_TOKEN }}
artifact-path: 0/html/index.html
circleci-jobs: build
circleci-jobs: build-book
job-title: View rendered book here!