Skip to content

Merge branch 'main' of https://github.com/fhdsl/ottr into main #36

Merge branch 'main' of https://github.com/fhdsl/ottr into main

Merge branch 'main' of https://github.com/fhdsl/ottr into main #36

Workflow file for this run

name: Clean Docs Directory
on:
workflow_dispatch:
push:
branches: [ main, staging ]
jobs:
clean-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Delete all files inside docs
run: |
rm -rf docs/*
mkdir -p docs
- name: Commit changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add docs/
git commit -m "Cleaned up docs directory" || echo "No changes to commit"
git push