Merge branch 'dev' into main

This commit is contained in:
RoyceDa
2026-03-22 17:30:50 +02:00

View File

@@ -78,17 +78,27 @@ jobs:
# -u "${{ secrets.SDU_SSH_USERNAME }}" \
# -p '${{ secrets.SDU_SSH_PASSWORD }}'
- name: Check SP
shell: bash
run: |
echo "=== Workspace ==="
pwd
ls -la
echo "=== Packs ==="
find packs -maxdepth 3 -type f 2>/dev/null || true
test -n "$(find packs -type f -print -quit 2>/dev/null)" || { echo "packs is empty"; exit 1; }
- name: Install SCP in Docker container
run: apt-get install -y openssh-client
- name: Upload ${{ matrix.arch }} to SSH using SCP
- name: Upload to SSH using SCP
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SDU_SSH_HOST }}
username: ${{ secrets.SDU_SSH_USERNAME }}
password: ${{ secrets.SDU_SSH_PASSWORD }}
port: 22
source: "$GITHUB_WORKSPACE/packs/*"
source: "packs/*"
target: "${{ secrets.SDU_SSH_PACKS }}"
strip_components: 1
rm: true