Skip to content

Commit

Permalink
Update workflow to include Python package
Browse files Browse the repository at this point in the history
  • Loading branch information
armanddidierjean committed May 2, 2024
1 parent 30e3d73 commit 2023a6e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 2023a6e

Please sign in to comment.