Skip to content

Commit

Permalink
Deepchem website rebuild trigger (deepchem#3981)
Browse files Browse the repository at this point in the history
* Added website rebuild workflow

* Fixed indent

* Added comments

* Added docs for the workflow
  • Loading branch information
Cannon07 authored Jun 3, 2024
1 parent 04f4e47 commit dccc7ef
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/website_build_dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Dispatch trigger for deepchem website re-build
on:
push: # ci work when pushing to master branch
branches:
- master
jobs:
website-rebuild-trigger-dispatch:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.WEBSITE_REPO_PAT }}
repository: deepchem/deepchem.github.io
event-type: rebuild-website

5 changes: 5 additions & 0 deletions docs/source/development_guide/ci.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,8 @@ purposes are listed here.
+ `env_ubuntu.yml` and `env_mac.yml` contain scientific dependencies which are have OS specific support. Currently, vina
+ `env_test.yml` - it is mostly used for the purpose of testing in development purpose. It contains the test dependencies.
+ The installation files in `tensorflow`, `torch` and `jax` directories contain the installation command for backend deep learning frameworks. For torch and jax, installation command is different for CPU and GPU. Hence, we use different installation files for CPU and GPU respectively.

Website Rebuild Trigger
-----------------------

Whenever new commits are pushed to the master branch, it triggers the `website_build_dispatch` workflow. This workflow uses `peter-evans/repository-dispatch` github action to send a repository dispatch event called `rebuild-website` to the `deepchem.github.io` repository, which will rebuild the `deepchem.io` website and the `The deepchem Book`.

0 comments on commit dccc7ef

Please sign in to comment.