Skip to content

Process

Process #5

Workflow file for this run

name: Process
on:
schedule:
- cron: "05 03 * * *"
- cron: "05 11 * * *"
workflow_dispatch:
env:
# time zone
TZ: Asia/Shanghai
# network proxy aggregate config
SUBSCRIBE_CONF: ${{ secrets.SUBSCRIBE_CONF }}
# token
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
# network reachable
REACHABLE: ${{ vars.REACHABLE }}
# not check connective
SKIP_ALIVE_CHECK: ${{ vars.SKIP_ALIVE_CHECK }}
# skip remark
SKIP_REMARK: ${{ vars.SKIP_REMARK }}
# workflow mode
WORKFLOW_MODE: ${{ vars.WORKFLOW_MODE }}
# include spwcial protocols, such vless hysteria2 and hysteria
ENABLE_SPECIAL_PROTOCOLS: ${{ vars.ENABLE_SPECIAL_PROTOCOLS }}
# github access token
GIST_PAT: ${{ secrets.GIST_PAT }}
# github username and gist id, separated by '/'
GIST_LINK: ${{ secrets.GIST_LINK }}
# the url to the list of airports that you maintain yourself
# each line include domain, coupon and invitation code, the domain must be included, and the latter two items are optional
CUSTOMIZE_LINK: ${{ secrets.CUSTOMIZE_LINK }}
# include special protocols, such as vless hysteria2 and hysteria
ENABLE_SPECIAL_PROTOCOLS: ${{ vars.ENABLE_SPECIAL_PROTOCOLS }}

Check failure on line 45 in .github/workflows/process.yaml

View workflow run for this annotation

GitHub Actions / Process

Invalid workflow file

The workflow is not valid. .github/workflows/process.yaml (Line: 45, Col: 3): 'ENABLE_SPECIAL_PROTOCOLS' is already defined
jobs:
process:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
- name: Prepare
uses: actions/setup-python@v5
with:
python-version: "3.x"
architecture: "x64"
cache: "pip"
- name: Install
run: pip3 install -r requirements.txt
- name: Process
run: python -u subscribe/process.py --overwrite
- name: Timestamp
run: date