Skip to content

fixed UT flakiness

fixed UT flakiness #13

---
# kics-scan disable=555ab8f9-2001-455e-a077-f2d0f41e2fb9
# build and deploy Docsify site to GitHub Pages
name: Deploy Docsify
on:
# Runs on pushes targeting the default branch
push:
branches: ['master']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
# kics-scan ignore-line
uses: docker/setup-buildx-action@v3
- name: docker pull image
run: docker pull scrasnups/build:bash-tools-ubuntu-5.1
- name: Install vendors
run: |
set -exo pipefail
./bin/installRequirements
- name: Check if doc up to date
run: |
./bin/doc
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'pages'
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1