Skip to content

Commit

Permalink
Test for #11
Browse files Browse the repository at this point in the history
  • Loading branch information
JamborJan committed Jun 25, 2018
1 parent 2be7430 commit a5e4aeb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions publish-it.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ done
find $TMPDIR -type f -exec sed -i "s|${REPLACE_URL}/|/|g" {} \;
find $TMPDIR -type f -exec sed -i "s|${REPLACE_URL}|/|g" {} \; # URLs without a trailing / need to be changed to point the index

#for JavaScript
find $TMPDIR -type f -exec sed -i "s|http:\\\/\\\/this_will_be_replaced_by_sandstorm:10000\\\/|\/|g" {} \;

# Make sure to copy over all of the uploads. This is necessary because the current release of wget
# does not yet support srcset in img tags.
cp -r /var/wordpress/wp-content/uploads $TMPDIR/wp-content/
Expand Down

0 comments on commit a5e4aeb

Please sign in to comment.