From 50034c05071e1e1701a1e336d3415313acd051e8 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 12 May 2024 19:19:27 +1000 Subject: mkdocs.yaml --- .github/workflows/documentation.yaml | 29 +++++++++++++++++++++++++++++ .github/workflows/mkdocs.yaml | 29 ----------------------------- mkdocs.yaml | 3 +++ 3 files changed, 32 insertions(+), 29 deletions(-) create mode 100644 .github/workflows/documentation.yaml delete mode 100644 .github/workflows/mkdocs.yaml create mode 100644 mkdocs.yaml diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml new file mode 100644 index 0000000..91cb81d --- /dev/null +++ b/.github/workflows/documentation.yaml @@ -0,0 +1,29 @@ +name: ci +on: + push: + branches: + - master + - main +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Configure Git Credentials + run: | + git config user.name github-actions[bot] + git config user.email 41898282+github-actions[bot]@users.noreply.github.com + - uses: actions/setup-python@v5 + with: + python-version: 3.x + - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV + - uses: actions/cache@v4 + with: + key: mkdocs-material-${{ env.cache_id }} + path: .cache + restore-keys: | + mkdocs-material- + - run: pip install mkdocs-material + - run: mkdocs gh-deploy --force diff --git a/.github/workflows/mkdocs.yaml b/.github/workflows/mkdocs.yaml deleted file mode 100644 index 91cb81d..0000000 --- a/.github/workflows/mkdocs.yaml +++ /dev/null @@ -1,29 +0,0 @@ -name: ci -on: - push: - branches: - - master - - main -permissions: - contents: write -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Configure Git Credentials - run: | - git config user.name github-actions[bot] - git config user.email 41898282+github-actions[bot]@users.noreply.github.com - - uses: actions/setup-python@v5 - with: - python-version: 3.x - - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@v4 - with: - key: mkdocs-material-${{ env.cache_id }} - path: .cache - restore-keys: | - mkdocs-material- - - run: pip install mkdocs-material - - run: mkdocs gh-deploy --force diff --git a/mkdocs.yaml b/mkdocs.yaml new file mode 100644 index 0000000..b15a94b --- /dev/null +++ b/mkdocs.yaml @@ -0,0 +1,3 @@ +site_name: Celeritas Engine +theme: + name: material \ No newline at end of file -- cgit v1.2.3-70-g09d2