mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-29 11:28:14 +00:00
25ba9e2fad
* Fix Junit missing testsuites Fix issue https://github.com/aquasecurity/kube-bench/issues/883 but also bug with overriding output when --outputfile is effective and only write the last controls * test new integration * Update build.yml * add wait for job to be ready * Update build.yml * Update build.yml * Update build.yml * test * Update job.yaml * Add wait * test for logs * Update job.yaml * Create Expected_output.data * Update build.yml * Update build.yml * remove empty line * Add new line at the end * add --- * Delete docker.go * Delete integration.go * Delete integration_test.go * Delete integration/testdata/cis-1.20 directory * Delete integration/testdata/cis-1.6 directory * Update integration testing * Remove integration tests Removed integration testing to github action * Update build.yml
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
---
|
|
# This is a manually triggered workflow to build and publish the MkDocs from the
|
|
# main branch to GitHub pages at https://aquasecurity.github.io/kube-bench.
|
|
name: Deploy documentation
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: Version to be deployed
|
|
required: true
|
|
|
|
jobs:
|
|
deploy:
|
|
name: Deploy documentation
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- name: Checkout main
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: true
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.x
|
|
- run: |
|
|
pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
|
|
pip install mike
|
|
pip install mkdocs-macros-plugin
|
|
env:
|
|
# Note: It is not the same as ${{ secrets.GITHUB_TOKEN }} !
|
|
GH_TOKEN: ${{ secrets.MKDOCS_AQUA_BOT }}
|
|
- run: |
|
|
git config user.name "aqua-bot"
|
|
git config user.email "aqua-bot@users.noreply.github.com"
|
|
- run: |
|
|
mike deploy --push --update-aliases ${{ github.event.inputs.version }} latest
|