feat: add tips #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync to Server | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
# 不给权限会报错 | |
permissions: | |
contents: write | |
steps: | |
- name: Sync | |
run: curl https://updates.travellings.cn/update?token=${{ secrets.SYNC_TOKEN }} |