Skip to content

Commit

Permalink
build only on tag creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sarbagyastha authored Feb 21, 2020
1 parent 90f9cde commit f0aec20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Build and deploy
on: [push,pull_request]
on:
push:
tags:
- '*'
jobs:
build_deploy:
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit f0aec20

Please sign in to comment.