Added dockerfile and restructured directories accordingly #10
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: 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 |