diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 27a0e783d2..698c07f230 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -33,13 +33,10 @@ jobs: if: ${{ github.ref_name == 'main' }} run: yarn run release - - name: scp upload to production site - run: sshpass -p ${{ secrets.PROD_PASS }} scp -o 'StrictHostKeyChecking no' -r public_html/ ${{ secrets.PROD_USER }}@${{ secrets.PROD_IP }}:~/ - -# - name: Push to remote branch -# uses: ad-m/github-push-action@master -# with: -# USER_TOKEN: ${{ secrets.USER_TOKEN }} -# branch: ${{ github.ref }} -# tags: true -# force: true + - name: Push to remote branch + uses: ad-m/github-push-action@master + with: + USER_TOKEN: ${{ secrets.USER_TOKEN }} + branch: ${{ github.ref }} + tags: true + force: true