Update README.md #170
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Activate Conda Environment | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: control | |
environment-file: environment.yml | |
- name: Display FFMPEG Info | |
run: ffmpeg -version | |
- name: LaTeX Install | |
run: sudo apt-get update && sudo apt-get install texlive-full | |
- name: Node Install | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "18" | |
- name: Decktape Install | |
run: npm install -g decktape | |
- name: Slides & Notebooks Build | |
run: ./build | |
- name: JupyterLite Build | |
run: jupyter lite build --contents . --output-dir dist | |
# - name: PDF build # Disable PDF output again ... | |
# run: ./build-pdf | |
- name: Deployment Setup | |
run: rm .gitignore | |
- name: Deployment | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: "." | |
SINGLE_COMMIT: true | |
PRESERVE: true |