feat: add theme-controller with local storage #3
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 ] | |
workflow_dispatch: | |
jobs: | |
deploy: | |
strategy: | |
matrix: | |
os-version: [ubuntu-latest] | |
node-version: [16.x] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone Repo | |
uses: actions/[email protected] | |
- name: Prepare java | |
uses: actions/[email protected] | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Install clojure cli | |
uses: DeLaGuardo/setup-clojure@master | |
with: | |
cli: 1.11.1.1113 | |
- name: Build ${{ matrix.node-version }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: | | |
npm install | |
npm run release | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./public | |
cname: lanjoni.dev |