test .env.local writer
This commit is contained in:
@@ -24,6 +24,16 @@ jobs:
|
|||||||
target: "/root/hshop/"
|
target: "/root/hshop/"
|
||||||
rm: true
|
rm: true
|
||||||
|
|
||||||
|
- name: Deploy environment file
|
||||||
|
uses: appleboy/ssh-action@v0.1.6
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.SERVER_HOST }}
|
||||||
|
username: ${{ secrets.SSH_USER }}
|
||||||
|
password: ${{ secrets.SSH_PASSWORD }}
|
||||||
|
script: |
|
||||||
|
mkdir -p /root/hshop/backend/
|
||||||
|
printf "%s" "${{ secrets.ENV_FILE_CONTENT }}" > /root/hshop/backend/.env.local
|
||||||
|
|
||||||
- name: Build and start Docker containers
|
- name: Build and start Docker containers
|
||||||
uses: appleboy/ssh-action@v0.1.6
|
uses: appleboy/ssh-action@v0.1.6
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user