-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 811 Bytes
/
Copy pathdeploy.yaml
File metadata and controls
33 lines (29 loc) · 811 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
29
30
31
32
33
name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
- name: Restore cache 🏦
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build 🔧
run: ./gradlew jsBrowserDistribution
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.3.3
with:
branch: gh-pages
folder: build/distributions