Skip to content

Commit

Permalink
Kernel workflow: Automatically upload built package
Browse files Browse the repository at this point in the history
  • Loading branch information
lutoma committed Nov 13, 2023
1 parent 7fffdef commit eafa484
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
- name: 'Create package directory'
run: 'mkdir kernel-pkg'

- name: 'Move stuff around'
run: 'mv *.pkg.* kernel-pkg'

- name: Upload package as artifact
uses: actions/upload-artifact@v3
with:
name: kernel-pkg
path: kernel-pkg
- name: Import SSH key
run: 'mkdir .ssh; echo "${{ secrets.SSH_KEY }}" > .ssh/id_ed25519 && chmod 600 .ssh/id_ed25519'

- name: Upload to repo server
run: rsync *.pkg.tar.gz* repoupload@pkgs.xelix.org:/var/www/pkgs.xelix.org/core/i786/

- name: Update repository
run: ssh repoupload@pkgs.xelix.org /usr/local/bin/repo-remote-update core i786 xelix-kernel *.pkg.tar.gz

0 comments on commit eafa484

Please sign in to comment.