File tree 1 file changed +2
-1
lines changed 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 62
62
- name : Build devbox
63
63
run : go build -o dist/devbox ./cmd/devbox
64
64
- name : Upload devbox artifact
65
+ id : upload-artifact
65
66
uses : actions/upload-artifact@v4
66
67
with :
67
68
name : devbox-${{ runner.os }}-${{ runner.arch }}
74
75
CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
75
76
CLOUDFLARE_DEV_JETIFY_COM_ZONE_ID : ${{ secrets.CLOUDFLARE_DEV_JETIFY_COM_ZONE_ID }}
76
77
run : |
77
- ARTIFACT_URL="github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts"
78
+ ARTIFACT_URL="github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/${{ steps.upload-artifact.outputs.artifact-id }} "
78
79
curl --request PATCH \
79
80
"https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_DEV_JETIFY_COM_ZONE_ID/rulesets/8e90f56d9df8499ebf5023d188d62d99/rules/fab5cd9a2e574e0aa6ab73d622d6a350" \
80
81
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
You can’t perform that action at this time.
0 commit comments