π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Fix deploy
Veauville Raphael745b9aa16962
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.ymlindex edd6ec0b..970910f9 100755--- a/.github/workflows/deploy_to_prod.yml+++ b/.github/workflows/deploy_to_prod.yml@@ -13,7 +13,7 @@ jobs:- name: Checkout repositoryuses: actions/checkout@v4- - name: Create and Deploy Archives+ - name: Set up SSHrun: |mkdir -p ~/.sshtouch ~/.ssh/known_hosts@@ -24,22 +24,27 @@ jobs:echo -e "${DEPLOY_SSH_KEY}" > deploy_keychmod 600 deploy_key+ env:+ DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}+ INPUT_HOST: ${{ secrets.SSH_HOST }}- # Create archives of the frontend, dashboard and backend+ - name: Create Archives+ run: |tar -czf frontend.tar.gz frontendtar -czf dashboard.tar.gz dashboardtar -czf backend.tar.gz backend+ continue-on-error: true- # Transfert archives to the server+ - name: Transfer Archives+ run: |scp -i deploy_key frontend.tar.gz smaug@"${INPUT_HOST}":"${INPUT_REMOTE}"scp -i deploy_key dashboard.tar.gz smaug@"${INPUT_HOST}":"${INPUT_REMOTE}"scp -i deploy_key backend.tar.gz smaug@"${INPUT_HOST}":"${INPUT_REMOTE}"+ env:+ INPUT_REMOTE: /home/smaug/sites/alexandrie- # Extract archives on the server+ - name: Extract Archives on Remote+ run: |ssh -i deploy_key smaug@"${INPUT_HOST}" "cd ${INPUT_REMOTE} && tar -xzf frontend.tar.gz && tar -xzf dashboard.tar.gz && tar -xzf backend.tar.gz && rm frontend.tar.gz dashboard.tar.gz backend.tar.gz"-env:- DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}- INPUT_HOST: ${{ secrets.SSH_HOST }}INPUT_REMOTE: /home/smaug/sites/alexandrie- INPUT_PORT: ${{ secrets.SSH_PORT }}