Skip to content

Commit

Permalink
updater fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Laio Oriel Seman committed Dec 28, 2023
1 parent 01ec354 commit d4b6e5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ jobs:

- name: Commit and Push Changes
run: |
export ROOT_DIR=/home/runner/work
echo "Checking if to_commit directory exists and is not empty"
# check if to_commit directory exists and is not empty
if [ -d "$ROOT_DIR/to_commit" ] && [ "$(ls -A $ROOT_DIR/to_commit)" ]; then
export ROOT_DIR=/home/runner/work
cp -r $ROOT_DIR/to_commit/* $ROOT_DIR/CachyOS-PKGBUILDS/CachyOS-PKGBUILDS/
cd $ROOT_DIR/CachyOS-PKGBUILDS/CachyOS-PKGBUILDS/
else
Expand Down

0 comments on commit d4b6e5c

Please sign in to comment.