-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,20 +25,23 @@ jobs: | |
npm --version | ||
npm install | ||
- name: Build app | ||
- name: Build the Docker image | ||
run: make build | ||
env: | ||
BUILD_SHA: ${{ github.sha }} | ||
|
||
- name: Push Docker image to Heroku | ||
env: | ||
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | ||
run: | | ||
cd ui | ||
npm run build | ||
docker images | ||
docker tag prompt_sail_ui:latest registry.heroku.com/promptsail-ui/web | ||
docker push registry.heroku.com/promptsail-ui/web | ||
- name: Deploy to Heroku | ||
uses: akhileshns/[email protected] | ||
with: | ||
appdir: "ui" | ||
heroku_api_key: ${{ secrets.HEROKU_API_KEY }} | ||
heroku_app_name: "promptsail-ui" | ||
heroku_email: "[email protected]" | ||
buildpack: "heroku-community/nginx" | ||
flags: "--force" | ||
- name: Release to Heroku | ||
env: | ||
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | ||
run: heroku container:release web -a promptsail | ||
|
||
build-test-deploy-backend: | ||
if: ${{ false }} # disable for now | ||
|