Skip to content

Commit

Permalink
Change to grab the current's branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelayori committed Feb 25, 2024
1 parent 989fa6b commit 87de4ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
username: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}
script: |
wget https://raw.githubusercontent.com/${{ github.repository }}/master/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/${{ github.repository }}/master/.env -O .env
wget https://raw.githubusercontent.com/${{ github.repository }}/${{ github.ref_name }}/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/${{ github.repository }}/${{ github.ref_name }}/.env -O .env
docker-compose down
docker-compose up -d

0 comments on commit 87de4ef

Please sign in to comment.