Skip to content

Tutorial/sshuttle

Tutorial/sshuttle #365

Workflow file for this run

name: User Docs test
on:
workflow_dispatch:
pull_request:
jobs:
runner-job:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run Docker
run: docker run -e SITE_URL=https://cloud.denbi.de/wiki/ -v $(pwd)/wiki:/srv_root/docs/wiki -v $(pwd)/html:/var/www/html/wiki -v $(pwd)/config.yml:/config.yml -p "8000:8000" --entrypoint="mkdocs" denbicloud/mkdocswebhook:2.3.2 build --strict --clean -f /config.yml
- name: Run Html-proofer
run: |
docker run --name html-proofer -v $(pwd)/whitelist.txt:/whitelist.txt -v $(pwd)/html:/html klakegg/html-proofer --file-ignore /html/404.html --url-ignore $(cat whitelist.txt | tr '\n' ',') --empty_alt_ignore /html
- name: Rocket.Chat Notification
uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master
if: ${{ failure() }}
with:
type: ${{ job.status }}
job_name: ':kermit_typing: *Wiki Check*'
mention_if: 'failure'
mention: 'To see the error, click on the workflow link and check in which step the workflow failed! - '
url: ${{ secrets.ROCKETCHAT_WEBHOOK }}
commit: true
token: ${{secrets.CLOUD_USER_DOCS_WIKI_CHECK}}