Fix ttig pro subscriptions section wording #2539
Workflow file for this run
This file contains hidden or 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: Pull request | |
| on: pull_request | |
| permissions: | |
| contents: read # Read access for checkout | |
| jobs: | |
| build: | |
| name: Build docs | |
| runs-on: ubuntu-24.04-4core | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Editor config | |
| uses: snow-actions/[email protected] | |
| continue-on-error: true | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Get Go module cache directory path | |
| id: go-module-cache-dir-path | |
| run: echo "dir=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT | |
| - name: Initialize Go module cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ steps.go-module-cache-dir-path.outputs.dir }} | |
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go- | |
| - name: Download Go dependencies | |
| run: make go.deps | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "~20" | |
| - name: Get Yarn cache directory path | |
| id: yarn-cache-dir-path | |
| run: echo "dir=$(npx yarn cache dir)" >> $GITHUB_OUTPUT | |
| - name: Initialize Yarn module cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
| key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-yarn- | |
| - name: Download Yarn dependencies | |
| run: make js.deps | |
| - name: Initialize Hugo binary cache | |
| id: cache-hugo | |
| uses: actions/cache@v4 | |
| with: | |
| path: hugo.linux | |
| key: ${{ runner.os }}-hugo-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-hugo- | |
| - name: Build Hugo binary | |
| if: steps.cache-hugo.outputs.cache-hit != 'true' | |
| run: make hugo.linux | |
| - name: Build docs | |
| run: make build.public | |
| env: | |
| HUGO: ./hugo.linux | |
| HUGO_BASE_URL: https://www.thethingsindustries.com/docs/ | |
| 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_APPID: ${{ secrets.HUGO_PARAMS_SEARCH_APPID }} | |
| HUGO_PARAMS_SEARCH_APIKEY: ${{ secrets.HUGO_PARAMS_SEARCH_APIKEY }} | |
| HUGO_PARAMS_SEARCH_ENABLED: true | |
| HUGO_PARAMS_SEARCH_INDEX: thethingsstack | |
| - name: Validate build output | |
| run: | | |
| if [ ! -d "public" ]; then | |
| echo "Error: Build output directory 'public' not found" | |
| exit 1 | |
| fi |