Skip to content

Commit

Permalink
Added github action
Browse files Browse the repository at this point in the history
  • Loading branch information
theendie committed Dec 2, 2023
1 parent 9e2ce61 commit db8d24c
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 10 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy Staging

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: akhileshns/[email protected] # This is the action
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "endie-staging" #Must be unique in Heroku
heroku_email: ${{secrets.EMAIL}}
usedocker: true
# healthcheck: "https://.herokuapp.com/health"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ next-env.d.ts
.env

#storybook
storybook-static/*
storybook-static/*
build-storybook.log
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ Some stuffs and a little bit of me.
nodejs
npm

# Next Ideas
- Add New Relic
- Improave pyramid tests
- Work with Marketdown to post things
- Add pt-br/en option

# Init
npm run build

Expand Down
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@
"test:integration": "jest --watch",
"test:e2e": "cypress open",
"storybook": "storybook dev -p 6006 -s app/components",
"build-storybook": "storybook build -s app/components"
"build-storybook": "storybook build -s app/components",
"chromatic": "npx chromatic"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/theendie/endie.git"
},
"author": "Andressa Cruz",
"author": {
"name": "Andressa Cruz"
},
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https:/theendie/endie/issues"
Expand Down Expand Up @@ -54,5 +57,7 @@
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"testing-library": "^0.0.2"
}
},
"readme": "ERROR: No README data found!",
"_id": "[email protected]"
}

0 comments on commit db8d24c

Please sign in to comment.