-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: davimarinho <[email protected]>
- Loading branch information
1 parent
6b2d27e
commit 543f8b5
Showing
4 changed files
with
62 additions
and
40 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: CI Pipeline Frontend | ||
|
||
on: push | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout ✅ | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup 🏗 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: lts/* | ||
cache: 'npm' | ||
|
||
- name: Install ⚙️ | ||
run: npm install | ||
|
||
- name: Build 🛠 | ||
run: npm run build | ||
|
||
- name: Test 📋 | ||
run: npm run test |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: heroku-deploy | ||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
deploy-heroku: | ||
if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
name: heroku deploy | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: akhileshns/[email protected] | ||
with: | ||
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | ||
heroku_app_name: "alectrion-2023-1" | ||
heroku_email: ${{secrets.HEROKU_EMAIL}} | ||
usedocker: true | ||
docker_build_args: | | ||
GATEWAY_URL | ||
env: | ||
GATEWAY_URL: ${{ secrets.GATEWAY_URL }} |
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