diff --git a/.github/workflows/refresh-repository.yml b/.github/workflows/refresh-repository.yml index 30f1461..3b738d0 100644 --- a/.github/workflows/refresh-repository.yml +++ b/.github/workflows/refresh-repository.yml @@ -53,7 +53,7 @@ jobs: - name: Clone Hyprland-Void repo and prepare run: | - git clone https://github.com/Makrennel/hyprland-void.git + git clone --depth=1 https://github.com/Makrennel/hyprland-void.git cd hyprland-void cat common/shlibs >> ../void-packages/common/shlibs cp -r srcpkgs/* ../void-packages/srcpkgs @@ -145,12 +145,12 @@ jobs: xbps-rindex --privkey ./private.pem --sign --signedby "hyprland-void-github-action" ~/hostdir/binpkgs xbps-rindex --privkey ./private.pem --sign-pkg ~/hostdir/binpkgs/*.xbps - # - name: Checkout hyprland-void - # uses: actions/checkout@v4 + - name: Checkout hyprland-void + uses: actions/checkout@v4 - name: Refresh repository run: | - cd ../hyprland-void + cd $GITHUB_WORKSPACE/hyprland-void git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git push origin -d repository