Pantry Server Unavailable and TimeZone Fix #130
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: Python application | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "master" ] | |
schedule: | |
- cron: "30 19 * * *" | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: run main | |
env: | |
MICRO_PASS: ${{ secrets.MICRO_PASS }} | |
TOKENID: ${{ secrets.TOKENID }} | |
IDINSTANCE: ${{ secrets.IDINSTANCE }} | |
PANTRYTOKEN: ${{ secrets.PANTRYTOKEN }} | |
run: | | |
python3 main.py |