diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 72d588e..f860c7c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,8 @@ name: run web.py -on: - schedule: - - cron: '0 1 * * *' +on: push + # schedule: + # - cron: '0 1 * * *' jobs: build: @@ -22,4 +22,6 @@ jobs: pip3 install -r requirements.txt - name: execute py script # run main.py - run: python web.py \ No newline at end of file + run: python web.py + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} \ No newline at end of file