[DRONE] Removed unused /
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Cornet 2022-05-11 17:15:36 +02:00
parent bd4e471ceb
commit 79fe9b0878

View File

@ -35,13 +35,13 @@ steps:
script: script:
# make sure all is clean # make sure all is clean
- 'sudo /usr/bin/git -C /var/www/simoncor.net/ reset --hard HEAD' - 'sudo /usr/bin/git -C /var/www/simoncor.net reset --hard HEAD'
- 'sudo /usr/bin/git -C /var/www/simoncor.net/ clean -fX' - 'sudo /usr/bin/git -C /var/www/simoncor.net clean -fX'
- 'sudo /usr/bin/git -C /var/www/simoncor.net/ clean -fd' - 'sudo /usr/bin/git -C /var/www/simoncor.net clean -fd'
# fetch latest checkout # fetch latest checkout
- 'sudo /usr/bin/git -C /var/www/simoncor.net/ fetch' - 'sudo /usr/bin/git -C /var/www/simoncor.net fetch'
- "sudo /usr/bin/git -C /var/www/simoncor.net/ -c advice.detachedHead=false - "sudo /usr/bin/git -C /var/www/simoncor.net -c advice.detachedHead=false
checkout '${DRONE_COMMIT_SHA:0:8}'" checkout '${DRONE_COMMIT_SHA:0:8}'"
@ -68,11 +68,11 @@ steps:
script: script:
# make sure all is clean # make sure all is clean
- 'sudo /usr/bin/git -C /var/www/simoncor.net/ reset --hard HEAD' - 'sudo /usr/bin/git -C /var/www/simoncor.net reset --hard HEAD'
- 'sudo /usr/bin/git -C /var/www/simoncor.net/ clean -fX' - 'sudo /usr/bin/git -C /var/www/simoncor.net clean -fX'
- 'sudo /usr/bin/git -C /var/www/simoncor.net/ clean -fd' - 'sudo /usr/bin/git -C /var/www/simoncor.net clean -fd'
# fetch latest checkout # fetch latest checkout
- 'sudo /usr/bin/git -C /var/www/simoncor.net/ fetch' - 'sudo /usr/bin/git -C /var/www/simoncor.net fetch'
- "sudo /usr/bin/git -C /var/www/simoncor.net/ -c advice.detachedHead=false - "sudo /usr/bin/git -C /var/www/simoncor.net -c advice.detachedHead=false
checkout '${DRONE_COMMIT_SHA:0:8}'" checkout '${DRONE_COMMIT_SHA:0:8}'"