Skip to content

Commit

Permalink
Merge pull request #12 from Majed6/CD
Browse files Browse the repository at this point in the history
Push to Zapier on git tag
  • Loading branch information
Alys authored Mar 15, 2020
2 parents 16048cb + 45b3bef commit 8180413
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy
on:
push:
tags:
- '*'
jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- run: npm install -g zapier-platform-cli
- run: |
git config user.email "[email protected]"
git config user.name "$GITHUB_ACTOR"
npm install
npm version $(git describe --tags --abbrev=0)
zapier push
env:
CI: true
ZAPIER_DEPLOY_KEY: ${{ secrets.ZAPIER_DEPLOY_KEY }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules
build/build.zip
build
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "habitica",
"version": "2.2.1",
"version": "0.0.0",
"description": "Habitica is a free habit building and productivity app that treats real life like a game. With in-game rewards and punishments to motivate you and a strong social network to inspire you, Habitica can help you achieve your goals to become healthy, hard-working, and happy.",
"repository": "HabitRPG/habitica-zapier",
"homepage": "https://habitica.com/",
Expand Down

0 comments on commit 8180413

Please sign in to comment.