fix: remove git fetch from build.sh
All checks were successful
Build / build (pull_request) Successful in 5s
All checks were successful
Build / build (pull_request) Successful in 5s
This commit is contained in:
parent
64c757d03e
commit
28e0a5b0ee
@ -1,7 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Check for changes in images/ folder and the builds/ folder
|
# Check for changes in images/ folder and the builds/ folder
|
||||||
git fetch origin master:master
|
|
||||||
if [ "$(git branch --show-current)" = "master" ]; then
|
if [ "$(git branch --show-current)" = "master" ]; then
|
||||||
builds_changes=$(git diff --name-only HEAD^...master | grep -E '^builds/')
|
builds_changes=$(git diff --name-only HEAD^...master | grep -E '^builds/')
|
||||||
images_changes=$(git diff --name-only HEAD^...master | grep -E '^images/')
|
images_changes=$(git diff --name-only HEAD^...master | grep -E '^images/')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user