Skip to content

Commit

Permalink
Revert "* Comment out step named Push to remove branch, which seems…
Browse files Browse the repository at this point in the history
… to just…" (#1185)

This reverts commit c499b8c.
  • Loading branch information
stoobie authored Mar 17, 2024
1 parent c499b8c commit 5b9c55f
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5b9c55f

Please sign in to comment.