Skip to content

feat: create github action workflow and script #2

feat: create github action workflow and script

feat: create github action workflow and script #2

name: AlgorithmAutoSorter

Check failure on line 2 in .github/workflows/organize-problems.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/organize-problems.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
on:
push:
branches: [ master ]
jobs:
uploadToNotion:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependency
run: pip install -r requirements.txt
- name: sort-and-upload-request
env:
REQUEST_URL: ${{ secrets.REQUEST_URL}}
COMMIT_MSG: ${{github.event.head_commit.message}}
PATTERN: ${{vars.COMMIT_PATTERN}}
run: python requestNotionUpload.py