Skip to content

Commit

Permalink
Adjust verbose flag
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMacocian committed Aug 9, 2024
1 parent c77e04f commit 2aa5115
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/content-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
echo "Setting up staging folder"
sshpass -p "${{ secrets.HOST_PASS }}" ssh -o StrictHostKeyChecking=no ${{ secrets.HOST_USER }}@${{ secrets.HOST_ADDRESS }} "mkdir -p /home/guildwarspartysearch/staging/Content"
echo "Uploading content"
sshpass -p "${{ secrets.HOST_PASS }}" scp -P -r -o StrictHostKeyChecking=no GuildWarsPartySearch.FrontEnd/Content/ ${{ secrets.HOST_USER }}@${{ secrets.HOST_ADDRESS }}:/home/guildwarspartysearch/staging
sshpass -p "${{ secrets.HOST_PASS }}" scp -v -r -o StrictHostKeyChecking=no GuildWarsPartySearch.FrontEnd/Content/ ${{ secrets.HOST_USER }}@${{ secrets.HOST_ADDRESS }}:/home/guildwarspartysearch/staging
echo "Copying content into container"
sshpass -p "${{ secrets.HOST_PASS }}" ssh -o StrictHostKeyChecking=no ${{ secrets.HOST_USER }}@${{ secrets.HOST_ADDRESS }} "docker cp /home/guildwarspartysearch/staging/Content/ partysearch:/app/Content/"
echo "Cleaning up"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
echo "Setting up staging folder"
sshpass -p "${{ secrets.HOST_PASS }}" ssh -o StrictHostKeyChecking=no ${{ secrets.HOST_USER }}@${{ secrets.HOST_ADDRESS }} "mkdir -p /home/guildwarspartysearch/staging"
echo "Uploading image"
sshpass -p "${{ secrets.HOST_PASS }}" scp -P -o StrictHostKeyChecking=no guildwarspartysearch.server.tar ${{ secrets.HOST_USER }}@${{ secrets.HOST_ADDRESS }}:/home/guildwarspartysearch/staging
sshpass -p "${{ secrets.HOST_PASS }}" scp -v -o StrictHostKeyChecking=no guildwarspartysearch.server.tar ${{ secrets.HOST_USER }}@${{ secrets.HOST_ADDRESS }}:/home/guildwarspartysearch/staging
echo "Uploading configuration"
sshpass -p "${{ secrets.HOST_PASS }}" scp -P -o StrictHostKeyChecking=no Config.json ${{ secrets.HOST_USER }}@${{ secrets.HOST_ADDRESS }}:/home/guildwarspartysearch/staging
sshpass -p "${{ secrets.HOST_PASS }}" scp -v -o StrictHostKeyChecking=no Config.json ${{ secrets.HOST_USER }}@${{ secrets.HOST_ADDRESS }}:/home/guildwarspartysearch/staging
echo "Stopping running contianer"
sshpass -p "${{ secrets.HOST_PASS }}" ssh -o StrictHostKeyChecking=no ${{ secrets.HOST_USER }}@${{ secrets.HOST_ADDRESS }} "docker stop partysearch"
echo "Backing up database"
Expand Down

0 comments on commit 2aa5115

Please sign in to comment.