Skip to content

Commit

Permalink
try invoke by release
Browse files Browse the repository at this point in the history
  • Loading branch information
robertluo committed Jan 11, 2023
1 parent 6cb9b39 commit a255ac1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CI

on:
push:
tags:
- v**
pull_request:
branches: [main]
release:
types: [published]

jobs:
build:
Expand All @@ -28,7 +28,7 @@ jobs:
- run: clojure -T:build ci
- uses: codecov/codecov-action@v3
- name: deploy
if: github.event.push
if: github.event.release
run: clojure -T:build deploy
env:
CLOJARS_USERNAME: ${{secrets.CLOJARS_USERNAME}}
Expand Down

0 comments on commit a255ac1

Please sign in to comment.