Skip to content

Auto Push

Auto Push #41

Workflow file for this run

name: Auto Push
on:
schedule:
- cron: "0 4 * * *"
watch:
types: [started]
jobs:
build:
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id
steps:
- name: 1. 检擦url文件
uses: actions/checkout@master
- name: 2. 自动提交
run: |
curl -X POST 'https://ssl.bing.com/webmaster/api.svc/json/SubmitUrlBatch?apikey=${{secrets.bing_apikey}}' -H 'Content-Type: application/json' -H 'charset: utf-8' -d @bing.json