test publish
This commit is contained in:
@@ -3,13 +3,15 @@ name: Deploy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- release
|
||||
# tags:
|
||||
# - "v[0-9]+.[0-9]+.[0-9]+"
|
||||
paths:
|
||||
- '.gitea/workflows/deploy-client.yml'
|
||||
- 'client/**'
|
||||
- ".gitea/workflows/deploy-client.yml"
|
||||
- "client/**"
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
publish-web:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -41,3 +43,32 @@ jobs:
|
||||
--label "traefik.http.routers.chad-client.tls.certresolver=myresolver" \
|
||||
--label "traefik.http.services.chad-client.loadbalancer.server.port=80" \
|
||||
chad-client:latest
|
||||
|
||||
publish-tauri:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: setup node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
|
||||
- name: install Rust stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: install frontend dependencies
|
||||
run: yarn install
|
||||
|
||||
- uses: tauri-apps/tauri-action@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||
with:
|
||||
tagName: app-v__VERSION__
|
||||
releaseName: "App v__VERSION__"
|
||||
releaseBody: "See the assets to download this version and install."
|
||||
releaseDraft: true
|
||||
projectPath: "./client"
|
||||
githubBaseUrl: "https://git.koptilnya.xyz/api/v1"
|
||||
isGitea: true
|
||||
prerelease: false
|
||||
|
||||
Reference in New Issue
Block a user