chore: rename workflows

This commit is contained in:
DarkSky 2023-02-15 02:52:45 +08:00
parent 5a3e6aa041
commit 61fc9bc222
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
name: Build Pathfinder LiveDemo Test Version name: Build Test Version
on: on:
workflow_dispatch: workflow_dispatch:

View File

@ -1,4 +1,4 @@
name: Build Pathfinder name: Build & Test
on: on:
push: push:

View File

@ -1,4 +1,4 @@
name: Pathfinder changelog name: AFFiNE Changelog
on: on:
workflow_dispatch: workflow_dispatch:

View File

@ -2,7 +2,7 @@ import got from 'got';
const STAGE_HOST = 'https://nightly.affine.pro/'; const STAGE_HOST = 'https://nightly.affine.pro/';
if (['master', 'develop'].includes(process.env.CF_PAGES_BRANCH)) { if (['master', 'develop'].includes(process.env.CF_PAGES_BRANCH)) {
const message = `Daily builds: New deployment of PathFinder version ${process.env.CF_PAGES_COMMIT_SHA} was deploy: [nightly](${STAGE_HOST}) / [internal](${process.env.CF_PAGES_URL})`; const message = `Daily builds: New deployment of version ${process.env.CF_PAGES_COMMIT_SHA} was deploy: [nightly](${STAGE_HOST}) / [internal](${process.env.CF_PAGES_URL})`;
const url = `https://api.telegram.org/bot${process.env.BOT_TOKEN}/sendMessage`; const url = `https://api.telegram.org/bot${process.env.BOT_TOKEN}/sendMessage`;
got got