mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-19 22:24:17 +01:00
fix CI deployment 10
This commit is contained in:
20
.github/workflows/deploy2.yml
vendored
20
.github/workflows/deploy2.yml
vendored
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user