Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
Refactor code && enforce HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
maiconandsilva committed Dec 15, 2020
1 parent 25d2773 commit e811af7
Show file tree
Hide file tree
Showing 71 changed files with 2,580 additions and 2,456 deletions.
582 changes: 289 additions & 293 deletions .dockerignore

Large diffs are not rendered by default.

70 changes: 35 additions & 35 deletions .github/workflows/heroku.cd.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: Heroku CI/CD

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Login to Heroku Container registry
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:login

- name: Build and push
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_APP: ${{ secrets.HEROKU_APP_NAME }}
run: heroku container:push web

- name: Release
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_APP: ${{ secrets.HEROKU_APP_NAME }}
run: heroku container:release web
name: Heroku CI/CD

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Login to Heroku Container registry
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:login

- name: Build and push
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_APP: ${{ secrets.HEROKU_APP_NAME }}
run: heroku container:push web

- name: Release
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_APP: ${{ secrets.HEROKU_APP_NAME }}
run: heroku container:release web
Loading

0 comments on commit e811af7

Please sign in to comment.