-
-
Notifications
You must be signed in to change notification settings - Fork 19
28 lines (26 loc) · 625 Bytes
/
deploy.yml
File metadata and controls
28 lines (26 loc) · 625 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
environment: Deployment
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: 0
- name: Setup Java & Clojure
uses: ./.github/actions/setup-clojure
with:
cache-key: deploy
- name: Build JAR
run: clojure -T:build build
env:
GITHUB_SHA: ${{ env.GITHUB_SHA }}
- name: Deploy to Clojars
run: clojure -T:build deploy
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}