-
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
1 parent
979cc04
commit 51dfac1
Showing
5 changed files
with
12,365 additions
and
5,920 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 |
---|---|---|
|
@@ -8,13 +8,15 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: akhileshns/[email protected] # This is the action | ||
- name: Checkout React App | ||
uses: actions/checkout@v1 | ||
|
||
- name: Install and build React app | ||
run: npm install && npm run build-prod | ||
|
||
- name: Deploy React app | ||
uses: JamesIves/[email protected] | ||
with: | ||
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | ||
heroku_app_name: photos-custom-directives #Must be unique in Heroku | ||
heroku_email: [email protected] | ||
appdir: server | ||
env: | ||
HD_JWT_SECRET_KEY: ${{secrets.HD_JWT_SECRET_KEY}} | ||
HD_MONGO_URI: ${{secrets.HD_MONGO_URI}} | ||
branch: gh-pages # The branch the action should deploy to. | ||
repository-name: pineapple45/custom-directives-with-express-graphql/client | ||
folder: build # The folder the action should deploy. |
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 |
---|---|---|
@@ -1 +1 @@ | ||
web: npm build | ||
web: npm start |
Oops, something went wrong.