changes ???

This commit is contained in:
2026-06-11 15:37:21 +02:00
parent 6d6a1276fe
commit 8b069f6f13
3 changed files with 18 additions and 8 deletions
+15 -7
View File
@@ -5,6 +5,9 @@ inputs:
description: "Branch or ref to check out in the caller repository"
required: false
default: "main"
destination:
description: "Destination directory for the autodeploy scripts (relative to the repository root)"
required: true
runs:
using: "composite"
@@ -15,15 +18,20 @@ runs:
fetch-depth: 0
persist-credentials: true
ref: ${{ inputs.branch }}
path: tmp
- name: Deploy files
run: rsync -rlv "${GITHUB_WORKSPACE}/tmp/" "${{ inputs.destination }}/"
shell: bash
- name: Copy autodeploy into workspace
run: |
cp -R "$GITHUB_ACTION_PATH/autodeploy" "$GITHUB_WORKSPACE/"
$GITHUB_ACTION_PATH/autodeploy/setup.sh "${{ inputs.destination }}"
shell: bash
- name: Run autodeploy setup script
working-directory: ${{ github.workspace }}
run: |
chmod +x autodeploy/setup.sh
./autodeploy/setup.sh
shell: bash
# - name: Run autodeploy setup script
# working-directory: ${{ github.workspace }}
# run: |
# chmod +x autodeploy/setup.sh
# ./autodeploy/setup.sh
# shell: bash
+1 -1
View File
@@ -79,7 +79,7 @@ function download() {
fi
echo "Downloading $url ..."
rm "$archive" "$binary" || true
rm -f "$archive" "$binary" || true
curl --location --silent --show-error --remote-time --output "$archive" "$url"
tar xzf "$archive"
}
+2
View File
@@ -2,6 +2,8 @@
set -euo pipefail
DESTINATION_DIR="$1"
echo $DESTINATION_DIR
# URL="https://github.com/prefix-dev/pixi/releases/latest/download/pixi-x86_64-unknown-linux-musl.tar.gz"
URL="https://gitea.psi.ch/python/pixi/releases/download/latest/pixi-x86_64-unknown-linux-musl.tar.gz"