fix CI deployment 10

This commit is contained in:
Yeicor
2024-03-10 18:31:52 +01:00
parent b440a89b13
commit 23b4d25464

View File

@@ -32,24 +32,9 @@ jobs:
name: "github-pages" name: "github-pages"
url: "${{ steps.deployment.outputs.page_url }}" url: "${{ steps.deployment.outputs.page_url }}"
steps: steps:
- uses: "dawidd6/action-download-artifact@v3" - uses: "actions/download-artifact@v4"
with: with: # Downloads all artifacts from the build job
workflow: "build.yml"
name: "frontend"
path: "./public" path: "./public"
allow_forks: false
- uses: "dawidd6/action-download-artifact@v3"
with:
workflow: "build.yml"
name: "logo"
path: "./public"
allow_forks: false
- uses: "dawidd6/action-download-artifact@v3"
with:
workflow: "build.yml"
name: "example"
path: "./public"
allow_forks: false
- uses: "actions/configure-pages@v4" - uses: "actions/configure-pages@v4"
- uses: "actions/upload-pages-artifact@v3" - uses: "actions/upload-pages-artifact@v3"
with: with:
@@ -80,5 +65,6 @@ jobs:
python-version: "3.11" python-version: "3.11"
cache: "poetry" cache: "poetry"
- run: "poetry install" - run: "poetry install"
- run: "poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}"
- run: "poetry publish --build" - run: "poetry publish --build"