From 2023a6eaf72a9416a1dd24695d083618c23affdd Mon Sep 17 00:00:00 2001 From: armanddidierjean <95971503+armanddidierjean@users.noreply.github.com> Date: Thu, 2 May 2024 09:37:28 +0200 Subject: [PATCH] Update workflow to include Python package --- .github/workflows/publish.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cbd6c60..5364946 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,11 +36,18 @@ jobs: - name: Build run: CI=false yarn build # Using CI=false remove Treat warning as error that make the compilation fail + - name: Prepare build + run: | + mkdir module_build + cp -r out module_build/out + cp -r pyproject.toml module_build/pyproject.toml + cp -r python module_build/python + - name: Deploy uses: peaceiris/actions-gh-pages@v4 if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./out + publish_dir: ./module_build publish_branch: build commit_message: ${{ github.event.head_commit.message }}