mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 07:45:09 +00:00
copy env example file to the server
This commit is contained in:
parent
8ac7f7a2ef
commit
58b073d4c8
1 changed files with 1 additions and 3 deletions
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
|
@ -123,7 +123,7 @@ jobs:
|
||||||
- name: Deploy to Hetzner
|
- name: Deploy to Hetzner
|
||||||
run: |
|
run: |
|
||||||
# Copy deployment files to server
|
# Copy deployment files to server
|
||||||
scp -r compose.yaml nginx/ scripts/ ${{ env.HETZNER_USER }}@${{ env.HETZNER_HOST }}:${{ env.DEPLOY_PATH }}/
|
scp -r compose.yaml nginx/ scripts/ .env.example ${{ env.HETZNER_USER }}@${{ env.HETZNER_HOST }}:${{ env.DEPLOY_PATH }}/
|
||||||
|
|
||||||
# Copy environment file if it doesn't exist
|
# Copy environment file if it doesn't exist
|
||||||
ssh ${{ env.HETZNER_USER }}@${{ env.HETZNER_HOST }} "
|
ssh ${{ env.HETZNER_USER }}@${{ env.HETZNER_HOST }} "
|
||||||
|
|
@ -140,8 +140,6 @@ jobs:
|
||||||
"
|
"
|
||||||
|
|
||||||
- name: Update and restart services
|
- name: Update and restart services
|
||||||
env:
|
|
||||||
MARIADB_ROOT_PASSWORD: ${{ secrets.MARIADB_ROOT_PASSWORD }}
|
|
||||||
run: |
|
run: |
|
||||||
ssh ${{ env.HETZNER_USER }}@${{ env.HETZNER_HOST }} "
|
ssh ${{ env.HETZNER_USER }}@${{ env.HETZNER_HOST }} "
|
||||||
cd ${{ env.DEPLOY_PATH }}
|
cd ${{ env.DEPLOY_PATH }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue