Skip to content

Commit

Permalink
mkdir first
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Apr 10, 2024
1 parent bbb0af9 commit 540bb90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:

- name: Deploy with rsync
run: |
mkdir -p /var/www/html/${{ steps.package-version.outputs.current-version}}
sudo mkdir -p /var/www/html/${{ steps.package-version.outputs.current-version}}
rsync -avz ./build/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/html/${{ steps.package-version.outputs.current-version}}
- name: Update symlink
run: ln -sf /var/www/html/${{ steps.package-version.outputs.current-version}} /var/www/html/latest
run: sudo ln -sf /var/www/html/${{ steps.package-version.outputs.current-version}} /var/www/html/latest

0 comments on commit 540bb90

Please sign in to comment.