~tcarrio/git-mirror

e4e5cdd20ca474eaf934ba793ca703c52feb7064 — Tom Carrio 3 years ago eba1fc4
Simplifying packages / tasks
2 files changed, 3 insertions(+), 4 deletions(-)

M .build.yml
M git-mirror.sh
M .build.yml => .build.yml +1 -4
@@ 1,6 1,4 @@
image: archlinux
packages:
  - git
sources:
  - https://git.sr.ht/~tcarrio/git-mirror
environment:


@@ 9,5 7,4 @@ environment:
secrets:
  - 4e983fc2-9d24-43eb-9986-1c18feb2e7b8
tasks:
  - mirror-all: |
      git-mirror/git-mirror.sh $PROJECT_DIR
\ No newline at end of file
  - mirror-all: git-mirror/git-mirror.sh $PROJECT_DIR
\ No newline at end of file

M git-mirror.sh => git-mirror.sh +2 -0
@@ 40,8 40,10 @@ set +x
if [ $? -eq 0 ]
then
  echo "Successfully pushed to mirror"
  exit 0
else
  echo "Failed to push to mirror"
  exit 1
fi

popd
\ No newline at end of file