Should fix pipeline
Some checks failed
pipeline / build-and-push-images (push) Successful in 15s
pipeline / deploy (push) Failing after 13s

This commit is contained in:
2024-11-24 14:04:25 +01:00
parent 9f6a098a23
commit 2360425f0c

View File

@@ -53,14 +53,13 @@ jobs:
- build-and-push-images
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v2
- name: Create and use env file
run: |
echo "Creating env file as: $(whoami) in: $(pwd)"
echo "GIT_COMMIT_HASH=${{ github.sha }}" >> .env
ls -la .env
source .env
- name: Docker Stack deploy
uses: cssnr/stack-deploy-action@v1
@@ -70,3 +69,4 @@ jobs:
host: 192.168.1.105
user: root
ssh_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
env_file: .env