Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsiungw committed May 13, 2024
1 parent 27981dd commit 12efd10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ jobs:
echo ${{ secrets.SSH_PRIVATE_KEY }} > private_key && chmod 600 private_key
ssh -o StrictHostKeyChecking=no -i private_key ${{secrets.USER_NAME}}@${{secrets.IP_ADDRESS}} '
cd /var/www &&
echo ${{secrets.PERSONAL_ACCESS_TOKEN}} | docker login ghcr.io -u mhsiungw --password-stdin &&
docker-compose up --build
cat private_key | docker login ghcr.io -u mhsiungw --password-stdin &&
sudo docker-compose up --build
'

0 comments on commit 12efd10

Please sign in to comment.