Skip to content

Publish Softgarden Jobs on Website #17

Publish Softgarden Jobs on Website

Publish Softgarden Jobs on Website #17

Workflow file for this run

name: "Publish Softgarden Jobs on Website"
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
types: [ "closed" ]
schedule:
- cron: '1 7 * * *'
jobs:
generate-jobs:
runs-on: ubuntu-latest
environment: brandad.de
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: pip install python-dotenv requests
- name: Exec python script
run: python job-api/main.py
env:
CLIENT_ID: ${{ secrets.CLIENT_ID }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
FTP_USER: ${{ secrets.FTP_USER }}
PASSWORD: ${{ secrets.PASSWORD }}
API_PATH: ${{ vars.API_PATH }}
FTP_SERVER: ${{ vars.FTP_SERVER }}