We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d50cf13 commit 83cb7b8Copy full SHA for 83cb7b8
.github/workflows/check_updates.yml
@@ -9,10 +9,14 @@ jobs:
9
runs-on: ubuntu-latest
10
11
steps:
12
- - name: Check if yesterday is included
+ - name: Fetch JSON data
13
+ env:
14
+ BYPASS_HEADER: ${{ secrets.BYPASS_HEADER }}
15
run: |
- curl -v -H "x-test: ${{ secrets.BYPASS_HEADER }}" -o optimalfraction.json https://charts-core.peercoinexplorer.net/optimalfraction.json
16
+ curl -v -H "x-test: $BYPASS_HEADER" -o optimalfraction.json https://charts-core.peercoinexplorer.net/optimalfraction.json
17
18
+ - name: Check if yesterday is included
19
+ run: |
20
jq empty optimalfraction.json || { echo "Invalid JSON"; exit 1; }
21
22
TODAY=$(date -u +"%Y-%m-%d")
0 commit comments