🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
chore: update deploy and publish workflow
Isaac Jin06193cea7617
diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.ymlindex 1c9507d0a..6b6b4721f 100644--- a/.github/workflows/documentation.yml+++ b/.github/workflows/documentation.yml@@ -1,31 +1,40 @@name: Build and deploy camel documents+on:push:branches: [ "master", "qa" ]workflow_dispatch:+permissions:- contents: write+ contents: write+jobs:docs:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3- - name: Set up Python environment and install dependencies- uses: ./.github/actions/camel_install- with:- python-version: "3.10"- - name: Install Pandoc- run: sudo apt-get install -y pandoc- - name: Sphinx build- run: |- cd docs- poetry run make html- - name: Deploy- uses: peaceiris/actions-gh-pages@v3- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master'}}- with:- publish_branch: gh-pages- github_token: ${{ secrets.GITHUB_TOKEN }}- publish_dir: docs/_build/html/- force_orphan: true+ - name: Checkout code+ uses: actions/checkout@v4++ - name: Set up Python environment and install dependencies+ uses: ./.github/actions/camel_install+ with:+ python-version: "3.10"++ - name: Install Pandoc+ run: sudo apt-get install -y pandoc++ - name: Sphinx build+ run: |+ cd docs+ poetry run make html++ - name: Deploy+ uses: peaceiris/actions-gh-pages@v4+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}+ with:+ publish_branch: gh-pages+ github_token: ${{ secrets.GITHUB_TOKEN }}+ publish_dir: docs/_build/html/+ force_orphan: true+ cname: docs.camel-ai.orgdiff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.ymlindex d31853b49..19c4b2e5a 100644--- a/.github/workflows/publish_release.yml+++ b/.github/workflows/publish_release.yml@@ -21,6 +21,7 @@ jobs:- name: Build and publish to PyPIuses: JRubics/[email protected]with:+ python_version: '3.10'pypi_token: ${{ secrets.PYPI_API_KEY }}create-release:diff --git a/CNAME b/CNAMEdeleted file mode 100644index 03d397fbc..000000000--- a/CNAME+++ /dev/null@@ -1 +0,0 @@-docs.camel-ai.org\ No newline at end of file