You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: new-website/README.md
+17-6Lines changed: 17 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,7 @@ A detailed description of the working of the scripts is given below.
93
93
- The script then merges these PDFs and creates the file `merged.pdf`.
94
94
- The `merged.pdf` file is then uploaded to the S3 bucket.
95
95
- Please note, pdfunite package is required to be installed for merging. `apt install poppler-utils`
96
+
96
97
97
98
98
99
## Deployment
@@ -107,12 +108,22 @@ A detailed description of the working of the scripts is given below.
107
108
108
109
## Workflow script
109
110
110
-
- The `deploy_gh_pages.yml` workflow script in `.github/workflows` is triggered on updates to the main branch.
111
-
- The workflow runs a single job comprising of 3 steps
112
-
- Fetch version data: This step fetches the latest deepchem release version from the github [api endpoint](https://api.github.com/repos/deepchem/deepchem/releases) and updates the terminal commands in `deepchem/data/home/terminal-commands.json`
113
-
- Install and build: This step checks out the repository, installs the required dependencies using npm i, runs the linting process with npm run lint, and generates the static website with npm run export.
114
-
- Deploy: This step deploys the website to the gh-pages branch using the [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action). The website files are copied from the deepchem/out directory, and any files listed in the clean-exclude parameter are excluded from the cleaning process.
111
+
-### `deploy_gh_pages.yml`
112
+
113
+
- The `deploy_gh_pages.yml` workflow script in `.github/workflows` is triggered on updates to the main branch.
114
+
- The workflow runs a single job comprising of 3 steps
115
+
- Fetch version data: This step fetches the latest deepchem release version from the github [api endpoint](https://api.github.com/repos/deepchem/deepchem/releases) and updates the terminal commands in `deepchem/data/home/terminal-commands.json`
116
+
- Install and build: This step checks out the repository, installs the required dependencies using npm i, runs the linting process with npm run lint, and generates the static website with npm run export.
117
+
- Deploy: This step deploys the website to the gh-pages branch using the [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action). The website files are copied from the deepchem/out directory, and any files listed in the clean-exclude parameter are excluded from the cleaning process.
118
+
119
+
-### `build_pdf_book.yml`
120
+
121
+
- The `build_pdf_book.yml` workflow script in `.github/workflows` is triggered on updates to the `deepchem/examples/tutorials` directory in `deepchem` repository.
122
+
- The workflow runs a single job comprising of 3 steps
123
+
- Install requirements: This step installs the dependencies specified in the `requirements.txt` file in `new-website/utils`. It also installs poppler-utils and wkhtmltopdf packages.
124
+
- Fetch latest version of tutorials: It installs the jq package and then runs the `fetch_tutorials.py` script.
125
+
- Build pdf book: This step runs the `build_pdf_book.py` script.
0 commit comments