ci(ga): add Cloudflare Radar

This commit is contained in:
Ming Di Leom 2022-12-25 05:47:39 +00:00
parent f122929e57
commit eba3a6e2a6
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 5 additions and 3 deletions

View File

@ -14,8 +14,10 @@ jobs:
- name: Install Dependencies
run: |
apk update
apk add brotli curl git grep xmlstarlet
apk add brotli curl git grep jq xmlstarlet
- name: Build
env:
CF_API: ${{ env.CF_API }}
run: sh ./src/script.sh
- name: Compress
run: |
@ -27,13 +29,13 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
force_orphan: true
- name: 'Upload Public Folder'
- name: "Upload Public Folder"
uses: actions/upload-artifact@v2
with:
name: public
path: ./public
retention-days: 30
- name: 'Upload Tmp Folder'
- name: "Upload Tmp Folder"
uses: actions/upload-artifact@v2
with:
name: tmp