diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 429e26c..b35560e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -142,9 +142,8 @@ jobs: user: ${{ secrets.DEPLOY_USER }} key: ${{ secrets.DEPLOY_KEY }} command: | - BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//-/g') - wget https://raw.githubusercontent.com/arquisoft/wiq_es04c/$BRANCH_NAME/docker-compose.yml -O docker-compose.yml - wget https://raw.githubusercontent.com/arquisoft/wiq_es04c/$BRANCH_NAME/.env -O .env - git clone -b $BRANCH_NAME https://github.com/Arquisoft/wiq_es04c.git + wget https://raw.githubusercontent.com/arquisoft/wiq_es04c/releases/docker-compose.yml -O docker-compose.yml + wget https://raw.githubusercontent.com/arquisoft/wiq_es04c/releases/.env -O .env + git clone -b releases https://github.com/Arquisoft/wiq_es04c.git docker compose --profile prod down docker compose --profile prod up -d