Skip to content

Commit

Permalink
Cleanup script.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfbiedert committed Feb 2, 2024
1 parent 47a5b8d commit 1b121d3
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions scripts/ci_pack_public.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,3 @@ do
echo "Copying $FOLDER_PREP/$item to $FOLDER_DIST/"
cp -rf "$FOLDER_PREP/$item" "$FOLDER_DIST"
done

# # Early debug exit (USE THIS ONE, or there will be pain and suffering)
# # exit 0

# # Now we can publish
# echo -e "Sending to ${_GREEN}LIVE${_NC} environment."

# # Make sure we have committed so the public web site shows the right hash.
# if [[ -n "$(git status --porcelain)" ]]; then
# echo -e "You ${_RED}must commit${_NC} before going --live. Aborting ..."
# fi


# Publish
# scp -r public.clean/* rb@192.168.0.1:/data/sites/cheats.rs

# # Purge Cloudflare cache
# if [[ "$CLOUDFLARE_CHEATSRS_APITOKEN" ]]; then
# echo -e "${_GREEN}Flushing cache${_NC} ..."
# curl -X POST "https://api.cloudflare.com/client/v4/zones/8519d81efc8dff85af32fa0cf5f69949/purge_cache" -H "Authorization: Bearer ${CLOUDFLARE_CHEATSRS_APITOKEN}" -H "Content-Type: application/json" --data '{ "purge_everything": true }'
# else
# echo -e "${_RED}No API token to flush cache. You must do that manually!${_NC}"
# fi

0 comments on commit 1b121d3

Please sign in to comment.