Skip to content

JumpServer Update Blacklist #223

JumpServer Update Blacklist

JumpServer Update Blacklist #223

name: JumpServer Update Blacklist
on:
schedule:
- cron: '30 5,17 * * *'
workflow_dispatch:
jobs:
update_blacklist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- run: |
if [ -f requirements.txt ]; then
pip install -r requirements.txt
fi
- run: python actions/bin/jump_update_blacklist.py
env:
JUMPSERVER_HOST: ${{secrets.JUMPSERVER_HOST}}
JUMPSERVER_PTOKEN: ${{secrets.JUMPSERVER_PTOKEN}}