mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 20:10:24 +08:00
chore: github workflow
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Dispatch Deploy by tag
|
name: Deploy by tag or schedule
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -8,18 +8,18 @@ on:
|
|||||||
- cron: '0 7 * * *'
|
- cron: '0 7 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dispatch-deploy-by-tag:
|
dispatch-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Setup deploy environment
|
name: Setup Deploy
|
||||||
steps:
|
steps:
|
||||||
- name: dispatch deploy by tag
|
- name: dispatch deploy by tag
|
||||||
if: ${{ github.event == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
uses: benc-uk/workflow-dispatch@v1
|
uses: benc-uk/workflow-dispatch@v1
|
||||||
with:
|
with:
|
||||||
workflow: deploy.yml
|
workflow: deploy.yml
|
||||||
inputs: '{ "flavor": "canary" }'
|
inputs: '{ "flavor": "canary" }'
|
||||||
- name: dispatch deploy by schedule
|
- name: dispatch deploy by schedule
|
||||||
if: ${{ github.event == 'schedule' }}
|
if: ${{ github.event_name == 'schedule' }}
|
||||||
uses: benc-uk/workflow-dispatch@v1
|
uses: benc-uk/workflow-dispatch@v1
|
||||||
with:
|
with:
|
||||||
workflow: deploy.yml
|
workflow: deploy.yml
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Dispatch Release Desktop by tag
|
name: Release Desktop by tag or schedule
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -8,18 +8,18 @@ on:
|
|||||||
- cron: '0 7 * * *'
|
- cron: '0 7 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dispatch-desktop-app-by-tag:
|
dispatch-release-desktop:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Setup Release Desktop
|
name: Setup Release Desktop
|
||||||
steps:
|
steps:
|
||||||
- name: dispatch desktop release by tag
|
- name: dispatch desktop release by tag
|
||||||
if: ${{ github.event == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
uses: benc-uk/workflow-dispatch@v1
|
uses: benc-uk/workflow-dispatch@v1
|
||||||
with:
|
with:
|
||||||
workflow: release-desktop.yml
|
workflow: release-desktop.yml
|
||||||
inputs: '{ "build-type": "canary", "is-draft": true, "is-pre-release": true }'
|
inputs: '{ "build-type": "canary", "is-draft": true, "is-pre-release": true }'
|
||||||
- name: dispatch desktop release by schedule
|
- name: dispatch desktop release by schedule
|
||||||
if: ${{ github.event == 'schedule' }}
|
if: ${{ github.event_name == 'schedule' }}
|
||||||
uses: benc-uk/workflow-dispatch@v1
|
uses: benc-uk/workflow-dispatch@v1
|
||||||
with:
|
with:
|
||||||
workflow: release-desktop.yml
|
workflow: release-desktop.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user