From 6ba721e9aafbe6dba8f78bcd9b1828f00b900544 Mon Sep 17 00:00:00 2001 From: XuhuiZhou Date: Sat, 6 Apr 2024 20:55:40 -0400 Subject: [PATCH] Add CI workflow for continuous integration and deployment --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ mkdocs.yml | 1 - 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1e85339 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: ci +on: + push: + branches: + - master + - main +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - uses: actions/cache@v2 + with: + key: ${{ github.ref }} + path: .cache + - run: pip install mkdocs-material + - run: pip install pillow cairosvg + - run: mkdocs gh-deploy --force \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index f6bb7f4..0fd1873 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,4 @@ site_name: awesome-social-agents -docs_dir: '.' theme: name: material