mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-19 22:24:17 +01:00
Compare commits
1 Commits
v0.1.0-alp
...
v0.1.0-alp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
764b0bcb9e |
16
.github/workflows/deploy.yml
vendored
16
.github/workflows/deploy.yml
vendored
@@ -9,20 +9,30 @@ permissions:
|
|||||||
contents: "write"
|
contents: "write"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
deploy:
|
||||||
concurrency: "ci-${{ github.ref }}" # Recommended if you intend to make multiple deployments in quick succession.
|
concurrency: "ci-${{ github.ref }}" # Recommended if you intend to make multiple deployments in quick succession.
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: "actions/download-artifact@v4"
|
- uses: "actions/download-workflow-artifact@v3"
|
||||||
with:
|
with:
|
||||||
|
workflow: "ci.yml"
|
||||||
name: "frontend"
|
name: "frontend"
|
||||||
path: "./public"
|
path: "./public"
|
||||||
- uses: "actions/download-artifact@v4"
|
- uses: "actions/download-workflow-artifact@v3"
|
||||||
with:
|
with:
|
||||||
|
workflow: "ci.yml"
|
||||||
name: "logo"
|
name: "logo"
|
||||||
path: "./public"
|
path: "./public"
|
||||||
- run: "ls -l -R ./public"
|
- run: "ls -l -R ./public"
|
||||||
- uses: "JamesIves/github-pages-deploy-action@v4"
|
- uses: "JamesIves/github-pages-deploy-action@v4"
|
||||||
with:
|
with:
|
||||||
folder: "public"
|
folder: "public"
|
||||||
|
- uses: "svenstaro/upload-release-action@v2"
|
||||||
|
with:
|
||||||
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
file: "./public/*"
|
||||||
|
asset_name: "frontend"
|
||||||
|
tag: "${{ github.ref }}"
|
||||||
|
overwrite: true
|
||||||
|
file_glob: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user