mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2026-02-17 10:27:02 +01:00
improve workflows, and add a deploy workflow
This commit is contained in:
28
.github/workflows/deploy.yml
vendored
Normal file
28
.github/workflows/deploy.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: "Deploy"
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
permissions:
|
||||
contents: "write"
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
concurrency: "ci-${{ github.ref }}" # Recommended if you intend to make multiple deployments in quick succession.
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: "actions/download-artifact@v4"
|
||||
with:
|
||||
name: "frontend"
|
||||
path: "./public"
|
||||
- uses: "actions/download-artifact@v4"
|
||||
with:
|
||||
name: "logo"
|
||||
path: "./public"
|
||||
- run: "ls -l -R ./public"
|
||||
- uses: "JamesIves/github-pages-deploy-action@v4"
|
||||
with:
|
||||
folder: "public"
|
||||
|
||||
Reference in New Issue
Block a user