diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a4620cf..02430dd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -64,6 +64,7 @@ jobs: cd ~/oak-subql && \ echo ${{ secrets.SECRET_FILE }} | base64 --decode > secret.${{ inputs.target_env }} && \ source secret.${{ inputs.target_env }} && \ + cp project-${{ inputs.target_env }}.yaml project.yaml && \ make build' - name: Bring up the new container @@ -74,6 +75,5 @@ jobs: docker compose -f /etc/caddy/docker-compose.yml down; \ cd ~/oak-subql && \ source secret.${{ inputs.target_env }} && \ - cp project-${{ inputs.target_env }}.yaml project.yaml && \ make down up && \ docker compose -f /etc/caddy/docker-compose.yml up --force-recreate -d'