Last active
March 27, 2019 04:04
-
-
Save mortenson/54a9458f2dfe2c7ae993469c7aca2a16 to your computer and use it in GitHub Desktop.
Replicate a bug with failed manual deploys and Netlify
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Use: Create an empty directory and download this file as netlifybug.sh | |
# Then, run "netlify link", then ./netlifybug.sh. | |
# Use default deploy path (".") at prompts. | |
# You should see a failed deploy first, then a successful deploy after. | |
mkdir -p subdir | |
touch index.html subdir/index.html | |
RAND=$(openssl rand -base64 12) | |
echo "$RAND" >> index.html | |
echo "$RAND" >> subdir/index.html | |
netlify deploy | |
netlify deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment