From 9f6a098a232627d89ccadedb3246df87085b49ae Mon Sep 17 00:00:00 2001 From: vhaudiquet Date: Sun, 24 Nov 2024 13:52:10 +0100 Subject: [PATCH] Tryfix pipeline --- .gitea/workflows/pipeline.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index 0a66621..8e29a5d 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -55,12 +55,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Create env file + - name: Create and use env file run: | echo "Creating env file as: $(whoami) in: $(pwd)" echo "GIT_COMMIT_HASH=${{ github.sha }}" >> .env - chmod a+rwx .env - ls -la + ls -la .env + source .env - name: Docker Stack deploy uses: cssnr/stack-deploy-action@v1 @@ -69,5 +69,4 @@ jobs: file: docker-compose.yml host: 192.168.1.105 user: root - ssh_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }} - env_file: .env \ No newline at end of file + ssh_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }} \ No newline at end of file