Skip to content

Commit

Permalink
Merge pull request #11 from Openmesh-Network/feature/boot-opnm-sh-upload
Browse files Browse the repository at this point in the history
We need to be able to access the latest dev and main branch builds on the web for netboot, ISO sideload, etc.
  • Loading branch information
jaesharp authored Jul 5, 2024
2 parents db4cecc + 741c880 commit 4065fb1
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/xnodeos-build-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,14 @@ jobs:
with:
name: XnodeOS-x86_64.iso
path: result/iso/nixos.iso
- name: Upload Result to boot.opnm.sh
uses: appleboy/scp-action@v0.1.7
with:
host: boot.opnm.sh
username: opnm
key: ${{secrets.BOOT_OPNM_SH_DEPLOY_KEY}}
source: result/iso/nixos.iso
target: /mnt/boot-opnm-sh/public/${{GITHUB_REF_NAME}}/iso
strip_components: 2
tar_dereference: true
overwrite: true
11 changes: 11 additions & 0 deletions .github/workflows/xnodeos-build-kexec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,14 @@ jobs:
with:
name: xnodeos-kexec-system-x86_64-linux.tar.xz
path: result/tarball/nixos-system-x86_64-linux.tar.xz
- name: Upload Result to boot.opnm.sh
uses: appleboy/scp-action@v0.1.7
with:
host: boot.opnm.sh
username: opnm
key: ${{secrets.BOOT_OPNM_SH_DEPLOY_KEY}}
source: result/tarball/nixos-system-x86_64-linux.tar.xz
target: /mnt/boot-opnm-sh/public/latest/${{GITHUB_REF_NAME}}/kexec
strip_components: 2
tar_dereference: true
overwrite: true
11 changes: 11 additions & 0 deletions .github/workflows/xnodeos-build-netboot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,14 @@ jobs:
with:
name: initrd
path: result/initrd
- name: Upload Result to boot.opnm.sh
uses: appleboy/scp-action@v0.1.7
with:
host: boot.opnm.sh
username: opnm
key: ${{secrets.BOOT_OPNM_SH_DEPLOY_KEY}}
source: "result/ipxe,result/kernel,result/initrd"
target: /mnt/boot-opnm-sh/public/latest/${{GITHUB_REF_NAME}}/netboot
strip_components: 1
tar_dereference: true
overwrite: true

0 comments on commit 4065fb1

Please sign in to comment.