Refactor planned pregnancy management in UserCharacterWorker and SQL: Updated queries to handle planned births and clear pregnancy records post-birth. Streamlined pregnancy processing logic with readiness checks and improved child relation insertion. Enhanced documentation for better understanding of planned pregnancy features and their integration.
Some checks failed
Deploy daemon / deploy-daemon (push) Failing after 0s
Some checks failed
Deploy daemon / deploy-daemon (push) Failing after 0s
This commit is contained in:
38
.gitea/workflows/deploy-daemon.yml
Normal file
38
.gitea/workflows/deploy-daemon.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
name: Deploy daemon
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy-daemon:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Prepare SSH
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
printf "%s" "${{ secrets.PROD_SSH_KEY }}" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
ssh-keyscan -p "${{ secrets.PROD_PORT }}" "${{ secrets.PROD_HOST }}" >> ~/.ssh/known_hosts
|
||||
|
||||
- name: Test SSH connection
|
||||
run: |
|
||||
ssh -i ~/.ssh/id_ed25519 \
|
||||
-o StrictHostKeyChecking=no \
|
||||
-o BatchMode=yes \
|
||||
-o ConnectTimeout=10 \
|
||||
-p "${{ secrets.PROD_PORT }}" \
|
||||
"${{ secrets.PROD_USER }}@${{ secrets.PROD_HOST }}" \
|
||||
"echo SSH OK"
|
||||
|
||||
- name: Run daemon deployment script
|
||||
run: |
|
||||
ssh -i ~/.ssh/id_ed25519 \
|
||||
-o StrictHostKeyChecking=no \
|
||||
-o BatchMode=yes \
|
||||
-o ConnectTimeout=10 \
|
||||
-p "${{ secrets.PROD_PORT }}" \
|
||||
"${{ secrets.PROD_USER }}@${{ secrets.PROD_HOST }}" \
|
||||
"/home/tsschulz/deploy-yourpart-daemon-bluegreen.sh"
|
||||
Reference in New Issue
Block a user