forked from TheThingsIndustries/lorawan-stack-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.12 KB
/
pull_request.yml
File metadata and controls
36 lines (34 loc) · 1.12 KB
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
name: Pull request
on: pull_request
jobs:
build:
name: Build docs
runs-on: ubuntu-18.04
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '~1.15'
- name: Initialize Go module cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Editor config
uses: snow-actions/[email protected]
- name: Build docs
run: make build.public
env:
HUGO_BASE_URL: https://thethingsstack.io/
HUGO_GOOGLEANALYTICS: ${{ secrets.HUGO_GOOGLEANALYTICS }}
HUGO_PARAMS_FEEDBACK_CAMPAIGN: ${{ secrets.HUGO_PARAMS_FEEDBACK_CAMPAIGN }}
HUGO_PARAMS_FEEDBACK_ENABLED: true
HUGO_PARAMS_INTERCOM_APPID: ${{ secrets.HUGO_PARAMS_INTERCOM_APPID }}
HUGO_PARAMS_INTERCOM_ENABLED: true
HUGO_PARAMS_SEARCH_APIKEY: ${{ secrets.HUGO_PARAMS_SEARCH_APIKEY }}
HUGO_PARAMS_SEARCH_ENABLED: true
HUGO_PARAMS_SEARCH_INDEX: thethingsstack