fix: thread order constant names + log date on threads #241
This file contains 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: docs | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
skip_coveralls: | |
description: "Skip coveralls" | |
type: boolean | |
default: false | |
skip_pages: | |
description: "Skip pages" | |
type: boolean | |
default: true | |
skip_gas: | |
description: "Skip push" | |
type: boolean | |
default: false | |
skip_release: | |
description: "Skip release" | |
type: boolean | |
default: false | |
skip_sonarcloud: | |
description: "Skip sonarcloud" | |
type: boolean | |
default: false | |
skip_tests: | |
description: "Skip tests" | |
type: boolean | |
default: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: | |
name: main | |
env: | |
CLASP_LIB_SCRIPT_ID: ${{secrets.CLASP_LIB_SCRIPT_ID}} | |
steps: | |
- id: checkout | |
name: Checkout | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 | |
with: | |
persist-credentials: false | |
token: ${{ secrets.GITHUB_TOKEN }} | |
fetch-depth: 0 | |
- id: nodejs | |
name: Use Node.js | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
node-version: 20.x | |
cache: "npm" | |
- id: build | |
name: Build | |
run: npm run ci:docs | |
- name: Deploy Pages | |
id: deploy-pages | |
uses: JamesIves/github-pages-deploy-action@5c6e9e9f3672ce8fd37b9856193d2a537941e66c # v4 | |
with: | |
folder: docs/build |