cosmetics

This commit is contained in:
2026-06-18 20:12:13 +02:00
parent 65ff15f70d
commit 3dafb4c5d8
+5 -3
View File
@@ -1,5 +1,6 @@
name: Autodeploy Setup
description: Copy the `autodeploy` scripts into the caller repository, install prerequisites and run `setup.sh`.
inputs:
branch:
description: "Branch or ref to check out in the caller repository"
@@ -33,16 +34,18 @@ runs:
path: tmp
- name: Deploy files
run: rsync -rlv "$GITHUB_WORKSPACE/tmp/" "${{ inputs.destination }}/"
shell: bash
run: |
rsync -rlv "$GITHUB_WORKSPACE/tmp/" "${{ inputs.destination }}/"
- name: Run setup.sh
shell: bash
run: |
$GITHUB_ACTION_PATH/autodeploy/setup.sh "${{ inputs.destination }}"
shell: bash
- name: Commit and push changes
working-directory: ${{ inputs.destination }}
shell: bash
run: |
git config user.name "${{ inputs.git_user_name }}"
git config user.email "${{ inputs.git_user_email }}"
@@ -56,4 +59,3 @@ runs:
git commit -m "${{ inputs.commit_message }}"
git push origin "HEAD:${{ inputs.branch }}"
shell: bash