Skip to content

Commit

Permalink
update action file
Browse files Browse the repository at this point in the history
  • Loading branch information
bachtran02 committed Oct 27, 2023
1 parent 04013b4 commit 4b188e7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,21 @@ name: run main.py
on:
schedule:
- cron: '0 8 * * *' # At 00:00 on Monday
push:
branches: [test/gh-actions]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install python packages
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute py script # run main.py
- name: run script
env:
SOME_SECRET: ${{ secrets.SOME_SECRET }}
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
run: python main.py

0 comments on commit 4b188e7

Please sign in to comment.