fix: add step to create .env file from Gitea secret in deployment workflow
This commit is contained in:
@@ -12,6 +12,9 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Create .env file from Gitea secret
|
||||||
|
run: echo "${{ secrets.BACKEND_ENV }}" > backand/.env
|
||||||
|
|
||||||
- name: Build and restart Docker containers
|
- name: Build and restart Docker containers
|
||||||
run: |
|
run: |
|
||||||
docker compose down
|
docker compose down
|
||||||
|
|||||||
Reference in New Issue
Block a user