Skip to content

Added dockerfile and restructured directories accordingly #10

Added dockerfile and restructured directories accordingly

Added dockerfile and restructured directories accordingly #10

name: Generate Syllabi Docker Composes
on:
push:
branches:
- brev-reorg
permissions:
contents: write
jobs:
generate-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Process syllabi and create modified docker-compose files
run: python3 brev/generate-syllabi-docker-composes.py
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit and push to generated branch
run: |
git checkout -B generated
git add tutorials/**/notebooks/syllabi/*__docker_compose.yml
git commit -m "[Automated] Generate Docker compose files from syllabi."
git push origin generated --force