From c0ed3d2d1d8a6cfb351452353608a47aaa157d03 Mon Sep 17 00:00:00 2001 From: "Gu://em_" Date: Mon, 30 Mar 2026 23:41:03 +0200 Subject: [PATCH] Final CI/CD pipeline adjustments --- .forgejo/workflows/deploy.yaml | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 7a5756e..1f32041 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -1,17 +1,13 @@ x-site_matrix: &site_matrix - - site: "test" - dest: "/var/www/crashtest" - config_file: "test.json" - - # - site: "harbor" - # dest: /var/www/harbor - # secret_key: "CONFIG_HARBOR" - # - site: "atlantis" - # dest: /var/www/atlantis - # secret_key: "CONFIG_ATLANTIS" - # - site: "amiral" - # dest: /var/www/amiral - # secret_key: "CONFIG_AMIRAL" + - site: "harbor" + dest: /var/www/harbor + config_file: "harbor.json" + - site: "atlantis" + dest: /var/www/atlantis + config_file: "atlantis.json" + - site: "amiral" + dest: /var/www/amiral + config_file: "amiral.json" name: Build and deploy all on: @@ -93,13 +89,6 @@ jobs: uses: https://github.com/webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - # env: - # SSH_KEY: ${{ secrets.SSH_PRIVATE_KEY }} - # run: | - # mkdir -p ~/.ssh - # echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 - # chmod 600 ~/.ssh/id_ed25519 - # ssh-keyscan -p ${{ secrets.SERVER_PORT }} -H ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts - name: Download Artifact uses: actions/download-artifact@v3