forked from jasper-software/jasper
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1.25 KB
/
deploy_manual.yml
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
35
36
37
38
39
40
name: Deploy Manual
on:
push:
tags:
- version-[0-9]+.[0-9]+.[0-9]+-unstable[0-9]+
- 'manual-version-*'
jobs:
build:
runs-on: ubuntu-latest
steps:
############################################################
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
############################################################
- name: Prebuild
shell: bash
run: build/github/prebuild
############################################################
- name: Build
shell: bash
run: build/make_release -r ${{github.ref}} -w ${{github.workspace}} -t ${{runner.temp}}/tmp -o ${{runner.temp}}/out
############################################################
- name: Deploy GitHub Pages Site for Manual
env:
DEPLOY_KEY: ${{secrets.MANUAL_DEPLOY_KEY}}
shell: bash
run: |
build/github/deploy_gh_pages \
-f \
-m key \
-t ${{runner.temp}}/deploy_gh_pages \
-i ${{runner.temp}}/out/doc \
-r jasper-software/jasper-manual \
-b gh-pages \
-z ${{github.ref}}
############################################################