Skip to content

Commit

Permalink
uncomment deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasTiede committed Apr 11, 2021
1 parent f083a14 commit e4d0713
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions .github/workflows/release_and_deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: GH Release and Deploy on Heroku


on: [push, pull_request]

# on:
# push:
# tags:
# - 'v*.*.*'
on:
push:
tags:
- 'v*.*.*'

jobs:
build:
Expand All @@ -15,17 +12,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

# - name: Release
# uses: softprops/action-gh-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Publish to Registry
# uses: elgohr/Publish-Docker-Github-Action@master
# with:
# name: niklastiede/testing_workflows
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: niklastiede/github-trending-api
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- uses: akhileshns/[email protected]
with:
Expand Down

0 comments on commit e4d0713

Please sign in to comment.