improve workflows, and add a deploy workflow

This commit is contained in:
Yeicor
2024-03-03 19:26:29 +01:00
parent 17afc11cd1
commit 7e6b11093b
2 changed files with 40 additions and 2 deletions

28
.github/workflows/deploy.yml vendored Normal file
View 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"