Skip to content

Commit

Permalink
ci: dynamic CI_PAGES_URL env for ci workflow on GitHub (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan authored Feb 8, 2024
1 parent 7716738 commit 6578d8d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ jobs:
with:
cache: true
python-version: ${{ matrix.python-version }}
- id: pages
name: Setup pages
uses: actions/configure-pages@v4
- run: env | sort
- run: make dev
- run: make lint test doc build
- run: make lint
- run: make test
- run: CI_PAGES_URL=${{ steps.pages.outputs.base_url }} make doc
- run: make build
strategy:
matrix:
python-version:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ jobs:
with:
cache: true
python-version: {{ '${{ matrix.python-version }}' }}
- id: pages
name: Setup pages
uses: actions/configure-pages@v4
- run: env | sort
- run: make dev
- run: make lint test doc build
- run: make lint
- run: make test
- run: CI_PAGES_URL={{ '${{ steps.pages.outputs.base_url }}' }} make doc
- run: make build
strategy:
matrix:
python-version:
Expand Down

0 comments on commit 6578d8d

Please sign in to comment.