-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 895 Bytes
/
build.yml
File metadata and controls
34 lines (32 loc) · 895 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
34
name: Docs
on:
push:
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * *'
jobs:
Docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Java
uses: actions/setup-java@v5
with:
java-version: 21
distribution: 'zulu'
- name: Setup JBang
uses: jbangdev/setup-jbang@main
- name: Set up node
uses: actions/setup-node@v5
with:
node-version: latest
- name: User Info
run: |
git config --global user.name evanchooly
git config --global user.email jlee@antwerkz.com
- name: Run Antora
env:
REMOTE_REPO: https://evanchooly:${{ secrets.GH_PUSH_TOKEN }}@github.com/MorphiaOrg/morphia.git
run: make clean publish