Changed pipeline
This commit is contained in:
@@ -57,7 +57,8 @@ jobs:
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
echo "GIT_COMMIT_HASH=${{ github.sha }}" >> ./envfile
|
||||
echo "GIT_COMMIT_HASH=${{ github.sha }}" >> .env
|
||||
ls -la
|
||||
|
||||
- name: Docker Stack deploy
|
||||
uses: cssnr/stack-deploy-action@v1
|
||||
@@ -67,4 +68,4 @@ jobs:
|
||||
host: 192.168.1.105
|
||||
user: root
|
||||
ssh_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
|
||||
env_file: ./envfile
|
||||
env_file: .env
|
||||
Reference in New Issue
Block a user