Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
fix: push only server folder
Browse files Browse the repository at this point in the history
  • Loading branch information
avan1235 committed Mar 7, 2020
1 parent 998d75b commit 96c6bb5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/webserver_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,4 @@ jobs:
ref: server
- name: Deploy to Heroku
if: github.ref == 'refs/heads/server' && job.status == 'success'
run: |
git fetch --all --unshallow
ls -la
git push -f https://heroku:${{ secrets.HEROKU_API_TOKEN }}@git.heroku.com/mycanteenapp.git server:master
run: git subtree push --prefix server https://heroku:${{ secrets.HEROKU_API_TOKEN }}@git.heroku.com/mycanteenapp.git server:master

0 comments on commit 96c6bb5

Please sign in to comment.