diff --git a/.github/workflows/rebuild-sources.yml b/.github/workflows/rebuild-sources.yml index 8713551..8940f2c 100644 --- a/.github/workflows/rebuild-sources.yml +++ b/.github/workflows/rebuild-sources.yml @@ -1,6 +1,9 @@ name: Rebuild Sources on: + push: + branches-ignore: + - main pull_request: jobs: @@ -37,9 +40,9 @@ jobs: set -e set -x - ssh-keyscan -H ${{ secrets.KAMATERA_HOSTNAME2 }} >> ~/.ssh/known_hosts + ssh-keyscan -H 207.126.167.82 >> ~/.ssh/known_hosts mkdir -p "${{ steps.init.outputs.PKG_BUILD_DIR }}" - rsync -avzh --include="*.orig.tar.gz" --include="*.debian.tar.xz" --exclude="*/*/*/*" root@${{ secrets.KAMATERA_HOSTNAME2 }}:/opt/archives/repos-merged/ "${{ steps.init.outputs.PKG_BUILD_DIR }}" + rsync -avzh --include="*.orig.tar.gz" --include="*.debian.tar.xz" --exclude="*/*/*/*" root@207.126.167.82:/opt/archives/repos-merged/ "${{ steps.init.outputs.PKG_BUILD_DIR }}" - name: Build run: | @@ -52,4 +55,4 @@ jobs: set -e set -x - for i in 1 2 3 4 5; do echo "Attempt $i" && rsync -avzh ${{ steps.init.outputs.PKG_BUILD_DIR }}/ root@${{ secrets.KAMATERA_HOSTNAME2 }}:/opt/archives/repos-merged/ && break || sleep 5; done + for i in 1 2 3 4 5; do echo "Attempt $i" && rsync -avzh ${{ steps.init.outputs.PKG_BUILD_DIR }}/ root@207.126.167.82:/opt/archives/repos-merged/ && break || sleep 5; done