diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1de2b0b..74dd72e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest steps: -# - name: Check if forked -# if: github.event.repository.fork == true -# run: echo "This action is running on a forked repository and will not deploy." && exit 0 + - name: Check if forked + if: github.event.repository.fork == true + run: echo "This action is running on a forked repository and will not deploy." && exit 0 - name: Checkout repository uses: actions/checkout@v2 @@ -48,7 +48,7 @@ jobs: env: SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_TOKEN_DEV }} SOURCE: "dist/" - TARGET: "/var/www/dist" + TARGET: "/var/www/qa" ARGS: "-avzr --delete" REMOTE_HOST: ${{ secrets.REMOTE_HOST_DEV }} REMOTE_USER: ${{ secrets.REMOTE_USER_DEV }}