Tryfix pipeline
This commit is contained in:
@@ -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
|
||||
@@ -70,4 +70,3 @@ jobs:
|
||||
host: 192.168.1.105
|
||||
user: root
|
||||
ssh_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
|
||||
env_file: .env
|
||||
Reference in New Issue
Block a user