From c5b9bf786baf6aff9924992cc2248b2a09b861c2 Mon Sep 17 00:00:00 2001 From: Evelyn Anyebe Date: Wed, 21 Apr 2021 05:47:01 +0100 Subject: [PATCH] Remove Deploy custom remote branch in readme and left the link to perform it using GitHub Actions --- README.md | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/README.md b/README.md index 9bdc59c..f7769d2 100644 --- a/README.md +++ b/README.md @@ -257,32 +257,7 @@ Though this is also possible to do with GitHub Actions, click [here](https://doc ### Deploy custom remote branch -You can use the **remote_branch** option to deploy an app to another remote branch - -_.github/workflows/main.yml_ - -```yaml -name: Deploy - -on: - push: - branches: - - master # Changing the branch here would also work - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: akhileshns/heroku-deploy@v3.12.12 # This is the action - with: - heroku_api_key: ${{secrets.HEROKU_API_KEY}} - heroku_app_name: "YOUR APP's NAME" #Must be unique in Heroku - heroku_email: "YOUR EMAIL" - remote_branch: "main" -``` - -Though this is also possible to do with GitHub Actions, click [here](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#on) for more information +This is possible to do with GitHub Actions, click [here](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#on) for more information ### Set stack for your app