Skip to content

Commit

Permalink
🤖 TEST: force image build
Browse files Browse the repository at this point in the history
  • Loading branch information
apolopena committed Feb 2, 2021
1 parent 7c0605f commit 4db22d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN sudo bash -c ". /tmp/update-composer.sh" && rm /tmp/update-composer.sh

# gitpod trick to bypass the docker caching mechanism for all lines below this one
# just increment the value each time you want to bypass the cache system
ENV INVALIDATE_CACHE=113
ENV INVALIDATE_CACHE=114

COPY --chown=gitpod:gitpod bash/utils.sh /tmp
COPY --chown=gitpod:gitpod starter.ini /tmp
Expand Down
3 changes: 2 additions & 1 deletion bash/snippets/browser-functions
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ open_preview() {
stype=$(echo "$1" | tr '[:upper:]' '[:lower:]')
local port
[ -z "$stype" ] && echo "$err Missing server type. Exactly one argument was expected." && echo $usage && return
[ "$stype" != 'php'] || [ "$stype" != 'apache'] && echo "$err invalid server type: $stype"
#[ "$stype" != 'php' ] || [ "$stype" != 'apache'] && echo "$err invalid server type: $stype"
[ "$stype" == 'php' ] && port=$php_port
[ "$stype" == 'apache' ] && port=$apache_port
echo port=$port
gp await-port $port &&
gp preview "$(gp url $port)?firstrun=1" &&
echo "Auto refreshing preview browser. Please wait 5 seconds."
Expand Down

0 comments on commit 4db22d4

Please sign in to comment.