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 }}