Skip to content

Commit

Permalink
feat: swap repository URL on tag
Browse files Browse the repository at this point in the history
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
  • Loading branch information
kbdharun authored and mirkobrombin committed Sep 19, 2024
1 parent 2f11044 commit b0cf11d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/vib-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
sudo chmod a+x /debootstrap/debootstrap
sudo ln -s /debootstrap/debootstrap -t /usr/local/bin
- name: Replace testing repository with production
if: ${{ github.ref_type == 'tag' }}
run: |
sed 's|http://testing.vanillaos.org|http://repo2.vanillaos.org|g' -i rootfs/build.sh
sed 's|http://testing.vanillaos.org|http://repo2.vanillaos.org|g' -i rootfs/includes.rootfs/etc/apt/sources.list.d/vanilla-base.sources
- name: Rootfs
working-directory: rootfs
run: |
Expand Down

0 comments on commit b0cf11d

Please sign in to comment.