Create Project Branches #14
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: Create Project Branches | |
on: | |
schedule: | |
- cron: '0 17 * * 4' # This in UTC, execute Thursday at 09:00 PDT (UTC-08:00) | |
workflow_dispatch: | |
jobs: | |
create_branches: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Timezone | |
uses: szenius/[email protected] | |
with: | |
timezoneLinux: "America/Los_Angeles" | |
timezoneMacos: "America/Los_Angeles" | |
timezoneWindows: "Pacific Standard Time" | |
- name: Set Up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Set up Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade -r requirements.txt | |
- name: Create Branches | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
python configure_presentation.py | |