Skip to content

Commit

Permalink
Prep website workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelThamm committed Oct 5, 2023
1 parent effb3ea commit fefcde5
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker Image CI
name: Deploy Website

on:
push:
Expand Down Expand Up @@ -31,9 +31,12 @@ jobs:
docker login -u $DOCKER_USER -p $DOCKER_PSWD
docker build . -t michaelthamm/website:$GITHUB_REF_NAME
docker push michaelthamm/website:$GITHUB_REF_NAME
# - name: Heroku deploy
# env:
# DOCKER_USER: ${{secrets.DOCKER_USER}}
# DOCKER_PSWD: ${{secrets.DOCKER_PSWD}}
# run: |
# heroku login -u $DOCKER_USER -p $DOCKER_PSWD
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: akhileshns/[email protected]
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_email: ${{secrets.HEROKU_EMAIL}}
heroku_app_name: "michaelthamm-website"

0 comments on commit fefcde5

Please sign in to comment.