Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
van1164 committed Nov 16, 2023
1 parent cfbca82 commit b9dcdb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
host: ${{ secrets.EC2_IP }}
username: ubuntu
key: ${{ secrets.SSH_PRIVATE_KEY }}
shell: bash -l -eo pipefail {0}
run: nvm use 18
script: |
cd test
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
nvm use 18
npm install
npm run build
sudo cp -r dist/* /usr/share/nginx/html/
Expand Down

0 comments on commit b9dcdb8

Please sign in to comment.