Skip to content

Commit

Permalink
[ci rebuild sources] temp: rebuild all sources
Browse files Browse the repository at this point in the history
  • Loading branch information
khos2ow committed Nov 12, 2024
1 parent f81b917 commit cfc3f8f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/rebuild-sources.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Rebuild Sources

on:
push:
branches-ignore:
- main
pull_request:

jobs:
Expand Down Expand Up @@ -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: |
Expand All @@ -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

0 comments on commit cfc3f8f

Please sign in to comment.