Skip to content

Commit

Permalink
fix site deployment, add conda deps
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Sep 20, 2021
1 parent 18d7aa4 commit fc69d5d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/post-release.yml
Expand Up @@ -2,6 +2,7 @@ name: Post Release
on:
release:
types: [published]
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -35,12 +36,11 @@ jobs:
run: |
pushd wiki
make
git commit -a -m "update release notes to ${GITHUB_REF#refs/tags/}"
git commit -a -m "update release notes to ${GITHUB_REF#refs/tags/}" || :
git push
popd
- run: make -C docs build
- if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
uses: casperdcl/push-dir@v1
- uses: casperdcl/push-dir@v1
with:
message: update static site
branch: gh-pages
Expand Down
8 changes: 7 additions & 1 deletion environment.yml
Expand Up @@ -34,6 +34,12 @@ dependencies:
- argopt # `cd wiki && pymake`
- twine # `pymake pypi`
- wheel # `setup.py bdist_wheel`
- pydoc-markdown # `cd docs && pymake`
# `cd docs && pymake`
- mkdocs-material
- pydoc-markdown >=3.3.0
- pygments
- pymdown-extensions
- pip:
- py-make >=0.1.0 # `setup.py make/pymake`
- mkdocs-minify-plugin # `cd docs && pymake`
- git+git://github.com/tqdm/jsmin@python3-only#egg=jsmin # `cd docs && pymake`

0 comments on commit fc69d5d

Please sign in to comment.