Oops fix deploy (#33) #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
environment: Deployment | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup | |
with: | |
cache-key: deploy | |
- name: Build Hawk | |
run: >- | |
clojure -T:build jar | |
env: | |
GITHUB_SHA: ${{ env.GITHUB_SHA }} | |
- name: Deploy Hawk | |
run: >- | |
clojure -T:build deploy | |
env: | |
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }} | |
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }} |