improve deploy workflow 6

This commit is contained in:
Yeicor
2024-03-03 20:08:32 +01:00
parent 032f37a64b
commit 5ff6e58071
2 changed files with 4 additions and 6 deletions

View File

@@ -1,5 +1,3 @@
name: "build"
on: on:
push: push:
branches: branches:

View File

@@ -1,5 +1,3 @@
name: "maybe deploy"
on: on:
push: push:
tags: tags:
@@ -27,14 +25,16 @@ jobs:
steps: steps:
- uses: "dawidd6/action-download-artifact@v3" - uses: "dawidd6/action-download-artifact@v3"
with: with:
workflow: "build" workflow: "build.yml"
name: "frontend" name: "frontend"
path: "./public" path: "./public"
allow_forks: false
- uses: "dawidd6/action-download-artifact@v3" - uses: "dawidd6/action-download-artifact@v3"
with: with:
workflow: "build" workflow: "build.yml"
name: "logo" name: "logo"
path: "./public" path: "./public"
allow_forks: false
- uses: "svenstaro/upload-release-action@v2" - uses: "svenstaro/upload-release-action@v2"
with: with:
repo_token: "${{ secrets.GITHUB_TOKEN }}" repo_token: "${{ secrets.GITHUB_TOKEN }}"