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