Skip to content

Commit 8fb267a

Browse files
authored
Use a tmp file in an attempt to fix
Signed-off-by: nythepegasus <[email protected]>
1 parent e1828a4 commit 8fb267a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
sha256sum servers.json | cut -d ' ' -f1 | cut -c1-8 > servers.json.hash
5050
- name: Add hash URL to servers.json
5151
run: |
52-
jq --arg url "https://$(cat CNAME)/servers.json.hash" '. + {"cache": $url}' servers.json > servers.json
52+
jq --arg url "https://$(cat CNAME)/servers.json.hash" '. + {"cache": $url}' servers.json > tmp.json && mv tmp.json servers.json && rm tmp.json
5353
- name: Upload artifact
5454
uses: actions/upload-pages-artifact@v3
5555
with:

0 commit comments

Comments
 (0)