From 2514e4add74bcb636fe667e3a2dd97a498643f26 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 11 Feb 2024 23:01:23 -0500 Subject: Add repository artifact upload --- .github/workflows/release-build.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.github') diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index 0dc23c8..1d82e94 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -38,3 +38,12 @@ jobs: - name: "Run builder for Debian ${{ matrix.version }} ${{ matrix.arch }}" run: |- sudo ./build.py ${{ inputs.version }} debian ${{ matrix.arch }} ${{ matrix.release }} + + - name: "Upload artifacts to repository server" + uses: appleboy/scp-action@v0.1.7 + with: + host: "${{ secrets.REPO_HOST }}" + username: "${{ secrets.REPO_USER }}" + key: "${{ secrets.REPO_KEY }}" + source: "out/debian/*" + target: "/srv/incoming/${{ inputs.version }}/debian/${{ matrix.arch }}/${{ matrix.release }}" -- cgit