diff --git a/.github/workflows/pull_url.yml b/.github/workflows/pull_url.yml index 782358a..b4aad1e 100644 --- a/.github/workflows/pull_url.yml +++ b/.github/workflows/pull_url.yml @@ -1,6 +1,7 @@ name: Update Ngrok URL on: + workflow_dispatch: # 手动触发 schedule: - cron: '0 * * * *' # 每小时运行一次 @@ -12,14 +13,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Setup Node.js - uses: actions/setup-node@v2 - with: - node-version: '14' - - - name: Install dependencies - run: npm install - - name: Get Ngrok URL run: | # 使用 curl 获取 ngrok URL,并将结果保存到临时文件