Skip to content

Adds cache-control headers to file-handler #231

Adds cache-control headers to file-handler

Adds cache-control headers to file-handler #231

name: Test and Deploy
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test_and_deploy:
name: Test and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Java
uses: actions/[email protected]
with:
distribution: zulu
java-version: 17
cache: maven
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
cli: latest
- name: Run tests
run: bin/kaocha
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: Push to Deploy
run: git push -f ssh://[email protected]:/home/compass/repo main:main