Skip to content

Python application #188

Python application

Python application #188

Workflow file for this run

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