Skip to content

Commit

Permalink
updating CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lklic committed Feb 19, 2024
1 parent aa49ddb commit a29dd36
Showing 1 changed file with 6 additions and 31 deletions.
37 changes: 6 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,7 @@
name: Deploy MkDocs Site

on:
push:
branches:
- master # Make sure this is your default branch

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs-material
- name: Build the MkDocs Site
run: mkdocs build

- name: Copy CNAME file
run: cp CNAME site/CNAME

- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
cname: docs.artresearch.net
keep_files: true

0 comments on commit a29dd36

Please sign in to comment.