Skip to content

Commit

Permalink
add version
Browse files Browse the repository at this point in the history
  • Loading branch information
skript023 committed Apr 5, 2024
1 parent 655ce0a commit 52d1ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/Gaboot # Replace with the path to your binary
tag: ${{ github.ref }}
tag: v1.0.0
asset_name: Gaboot # Replace with your desired asset name
overwrite: true
body: "Gaboot Release Binary"
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Deploy code
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }} "cd /home/${{ secrets.SERVER_USER }}/gbt-backend/Linux/ && \
sudo wget https://github.com/skript023/Gaboot/releases/download/main/Gaboot"
sudo wget https://github.com/skript023/Gaboot/releases/download/v1.0.0/Gaboot"
- name: Build and start Docker containers
run: ssh ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }} "cd /home/${{ secrets.SERVER_USER }}/gbt-backend/Linux/ && sudo docker-compose up --build -d"

0 comments on commit 52d1ee6

Please sign in to comment.