Skip to content

Delete sing-box directory #2

Delete sing-box directory

Delete sing-box directory #2

Workflow file for this run

name: Config Update
on:
push:
branches: [ master ]
workflow_dispatch:
schedule:
- cron: '0 12 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python3
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pandas requests pyyaml
- name: Run script
run: python ../main.py
working-directory: ./sing-box/
- name: Commit and push config.json
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git add ./sing-box/*.json
git commit -m "Add JSON files"
git push