Skip to content

Commit

Permalink
Add release action and precommit hook (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean Carlos Taveras authored May 25, 2020
1 parent 64ef091 commit 7367799
Show file tree
Hide file tree
Showing 5 changed files with 338 additions and 23 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
name: Build Changes
name: Create a Release
on:
push:
branches: [ master ]
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: npm run build
- name: Merge Build Changes
run: |
git config --global user.name "Build Changes Action"
git config --global user.email "jctaveras@intellisys.com.do"
git commit -am "Build Current Changes"
git push
- name: Create Release
id: creat_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
dockerfile: '' # set the path to the folder wher the Dokerfile is located
```
| Variables | Required |
| ------------- |:-------------:|
| email | ✅|
| Variables | Required |
|:----------:|:-------------:|
| email | ✅|
| api_key | ✅|
| app_name | ✅|
| dockerfile | ✅|
| options | ❌|
Loading

0 comments on commit 7367799

Please sign in to comment.