diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 99e55e2..91c6091 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,11 +13,12 @@ jobs: uses: actions/checkout@master - name: Deploy to server + if: ${{ !env.ACT }} uses: appleboy/ssh-action@master with: host: ${{ vars.DEPLOY_HOST }} - username: legend + username: ${{ secrets.SERVER_USERNAME }} key: ${{ secrets.SSH_DEPLOY_KEY }} script: | - cd ~/vue-frontend-template + cd ${{ vars.PROJECT_PATH }} sudo make update