Skip to content

Commit

Permalink
Fix upload path
Browse files Browse the repository at this point in the history
  • Loading branch information
Rukenshia committed Feb 19, 2023
1 parent 0df3a72 commit 25443f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DISTRIBUTION_ID=$(shell aws cloudfront list-distributions | jq -r '.Distribution
all:
./get_warships.sh

aws s3 cp ./warships.json s3://data.shipvote.in.fkn.space/warships.json
aws s3 cp ./warships.json s3://data.shipvote.in.fkn.space/shipvote/warships.json

# create invalidation for cloudfront
aws cloudfront create-invalidation --distribution-id ${DISTRIBUTION_ID} --paths /shipvote/*

0 comments on commit 25443f5

Please sign in to comment.