Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haxgun committed Oct 29, 2023
1 parent bbed4a7 commit 3f70e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
- name: Connect and Pull
run: |
if [ $GITHUB_REF == 'refs/heads/main' ]; then
ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd ${{ secrets.WORK_DIR }} && git checkout main && git pull --rebase && npm install --package-lock-only && npm ci && npm run build && exit"
ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd ${{ secrets.WORK_DIR }} && git checkout main && git pull --rebase && npm install && npm ci && npm run build && exit"
else
ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd ${{ secrets.TEST_WORK_DIR }} && git checkout ${GITHUB_REF##*/} && git pull && npm install --package-lock-only && npm ci && npm run build && exit"
ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd ${{ secrets.TEST_WORK_DIR }} && git checkout ${GITHUB_REF##*/} && git pull && npm install && npm ci && npm run build && exit"
fi
- name: Cleanup
Expand Down

0 comments on commit 3f70e6c

Please sign in to comment.