added deployment check
Some checks failed
Build and Deploy Container / build_and_deploy (push) Failing after 40s
Some checks failed
Build and Deploy Container / build_and_deploy (push) Failing after 40s
This commit is contained in:
@@ -75,14 +75,14 @@ jobs:
|
||||
- name: Build container on target host
|
||||
run: |
|
||||
# Expand $APP_DIR locally so the remote shell receives the concrete path
|
||||
ssh $TARGET_USER@$TARGET_HOST "set -euo pipefail; echo -e '$APP_DIR \n\n' cd '$APP_DIR' && echo 'PWD:' \$(pwd) && ls -la . && podman build -t $CONTAINER_NAME:latest ."
|
||||
ssh $TARGET_USER@$TARGET_HOST "set -euo pipefail; echo -e '$APP_DIR \n\n'; cd '$APP_DIR' && echo 'PWD:' \$(pwd) && ls -la . && podman build -t $CONTAINER_NAME:latest ."
|
||||
|
||||
- name: Backup Quadlet file
|
||||
run: |
|
||||
ssh $TARGET_USER@$TARGET_HOST '
|
||||
ssh $TARGET_USER@$TARGET_HOST "
|
||||
test -f ~/.config/containers/systemd/$CONTAINER_NAME.container && \
|
||||
cp ~/.config/containers/systemd/$CONTAINER_NAME.container ~/.config/containers/systemd/$CONTAINER_NAME.container.bak || true
|
||||
'
|
||||
"
|
||||
|
||||
- name: Replace Quadlet file
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user