Skip to content

Commit

Permalink
Use a tmp file in an attempt to fix
Browse files Browse the repository at this point in the history
Signed-off-by: nythepegasus <[email protected]>
  • Loading branch information
nythepegasus committed Nov 13, 2024
1 parent e1828a4 commit cfc462e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
sha256sum servers.json | cut -d ' ' -f1 | cut -c1-8 > servers.json.hash
- name: Add hash URL to servers.json
run: |
jq --arg url "https://$(cat CNAME)/servers.json.hash" '. + {"cache": $url}' servers.json > servers.json
jq --arg url "https://$(cat CNAME)/servers.json.hash" '. + {"cache": $url}' servers.json > tmp.json && mv tmp.json servers.json
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit cfc462e

Please sign in to comment.