Add datavis ggplot #2
Workflow file for this run
This file contains hidden or 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: Clojure CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
render-tutorials: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: render tutorial in projects/noj | |
uses: devcontainers/[email protected] | |
with: | |
subFolder: projects/noj | |
push: never | |
runCmd: clj notebooks/render.clj | |
# - name: render tutorial in projects/data-processing | |
# uses: devcontainers/[email protected] | |
# with: | |
# subFolder: projects/data-processing | |
# push: never | |
# runCmd: clj notebooks/render.clj | |
- name: render tutorial in projects/datavis/python/plotting | |
uses: devcontainers/[email protected] | |
with: | |
subFolder: projects/datavis/python/plotting | |
push: never | |
runCmd: clj -Adev notebooks/render.clj | |
- name: render tutorial in projects/datavis/ggplot | |
uses: devcontainers/[email protected] | |
with: | |
subFolder: projects/datavis/ggplot | |
push: never | |
runCmd: clj -Adev notebooks/render.clj | |
- name: clean docs | |
run: | | |
rm -rf docs/*.* | |
- name: combine all tutorials | |
uses: tzafrirben/[email protected] | |
with: | |
bb_src: make_docs.clj | |
- name: Prepare java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '8' | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
# Install just one or all simultaneously | |
# The value must indicate a particular version of the tool, or use 'latest' | |
# to always provision the latest version | |
cli: 1.10.1.693 | |
- name: fix permisions | |
run: sudo chmod o+w docs/ | |
- name: check permisison | |
run: | | |
ls -la docs/ | |
- name: create main index | |
run: clojure notebooks/render_index.clj | |
- name: check git status | |
run: | | |
date > generated.txt | |
git config user.name github-actions | |
git config user.email [email protected] | |
ls docs/projects | |
git status | |
- name: push updated docs | |
uses: stefanzweifel/git-auto-commit-action@v5 | |