Merge pull request #9 from grodtron/read-label #23
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: Deploy Todoist Changes | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
run_todoist_automation: | |
name: Run TodoistAutomation CLI | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install TodoistAutomation CLI | |
run: | | |
pip install git+https://github.com/grodtron/TodoistAutomation | |
- name: Run TodoistAutomation CLI | |
run: | | |
todoist-sync --debug --api-key ${{ secrets.TODOIST_API_KEY }} --yaml-file ./gtd.yml sync |