添加两个新域名 (#5) #14
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: Update DNS | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'zones/**' | |
jobs: | |
depoly: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 5 | |
- name: Run a multi-line script | |
run: | | |
export CF_API_EMAIL=${{ secrets.CF_API_EMAIL }} | |
export CF_API_KEY=${{ secrets.CF_API_KEY }} | |
bash install-flarectl.sh | |
bash depoly.sh |