chore(deps): bump postman-code-generators from 1.10.1 to 1.12.0 in the npm_and_yarn group across 1 directory #14
Workflow file for this run
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: Release gh-pages docs image | |
on: | |
workflow_dispatch: | |
inputs: | |
force_deploy_ghpages: | |
description: "Force deploy gb-pages" | |
default: false | |
type: boolean | |
required: false | |
pull_request: | |
branches-ignore: | |
- "gh-pages" | |
push: | |
branches: [main, gh-pages-test] | |
tags: ["v*"] | |
jobs: | |
ghpages: | |
name: Deploy gh-pages | |
runs-on: ubuntu-latest | |
if: (inputs.force_deploy_ghpages == true) || (github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/tags/v') || (github.ref == 'refs/heads/gh-pages-test') | |
steps: | |
# https://github.com/japgolly/setup-everything-scala | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 # Needed for the release tag // `git fetch --tags` will also work | |
# - name: Setup Java and Scala | |
# uses: olafurpg/setup-scala@v14 | |
# with: | |
# java-version: [email protected] | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
# - name: Setup Scala.JS | |
# uses: japgolly/setup-scalajs@v1 | |
# - name: Cache sbt | |
# uses: coursier/[email protected] | |
# ### create build deploy gh-pages ### | |
# - name: sbt "docAll; siteAll" | |
# run: sbt -v "docAll; siteAll" | |
- name: Build | |
run: | | |
yarn install | |
yarn build | |
- name: Deploy | |
# https://github.com/marketplace/actions/github-pages-action | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build | |
# cname: doc.did.fmgp.app |