Skip to content

Commit

Permalink
chore: 移除过时的 workflow (#2695)
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 authored Apr 30, 2024
1 parent 0c0e888 commit 4df6fed
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 116 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/issue-opend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,13 @@ jobs:
你好 @${{ github.event.issue.user.login }},请按照 issue 模板填写相关信息, 方便大家高效沟通, 强烈推荐你阅读 [提 Issue 前必读](https://github.com/antvis/S2/issues/1904) 和 [如何向开源项目提交无法解答的问题](https://zhuanlan.zhihu.com/p/25795393)。
Hello @${{ github.event.issue.user.login }}, please fill in the relevant information according to the issue template to facilitate communication efficiently. recommend you to read [提 Issue 前必读](https://github.com/antvis/S2/issues/1904) and [如何向开源项目提交无法解答的问题](https://zhuanlan.zhihu.com/p/25795393), Thanks so much!
# 标题或正文 (版本号) 带有 next, 增加标记便于统计
- name: Auto Set Next Label
if: contains(github.event.issue.title, 'next') || contains(github.event.issue.body, 'next')
uses: actions-cool/issues-helper@main
with:
actions: 'add-labels'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
labels: 'next'
31 changes: 3 additions & 28 deletions .github/workflows/release-success.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,33 +55,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.JINKE_GITHUB_TOKEN }}

# 开始部署官网
- name: 🔊 Deploy start notify
uses: zcong1993/actions-ding@master
with:
dingToken: ${{ secrets.DING_TALK_ACCESS_TOKEN }}
ignoreError: true
body: |
{
"msgtype": "link",
"link": {
"title": "📢 开始自动部署旧版官网 (https://s2.antv.vision) 📢 ",
"text": "🔗 请点击链接查看详情",
"messageUrl": "https://github.com/antvis/S2/actions/workflows/release-success.yml",
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*gt5-RZDjt3IAAAAAAAAAAAAADmJ7AQ/original"
}
}
# 安装官网依赖
- name: Install Dependencies
run: yarn

# 部署官网
- name: Deploy Site
run: yarn deploy

# 失败通知
- name: 🔊 Deploy failed notify
- name: 🔊 Create failed notify
if: ${{ failure() }}
uses: zcong1993/actions-ding@master
with:
Expand All @@ -91,8 +66,8 @@ jobs:
{
"msgtype": "link",
"link": {
"title": "🚨 旧版官网部署失败",
"text": "🔗 请点击链接查看具体原因, 尝试点击右上角 [Re-run all jobs] 重试, 或者手动部署 🚑",
"title": "🚨 同步 CHANGELOG 失败",
"text": "🔗 请点击链接查看具体原因, 尝试点击右上角 [Re-run all jobs] 重试 🚑",
"messageUrl": "https://github.com/antvis/S2/actions/workflows/release-success.yml",
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*PRSkSqsE_vYAAAAAAAAAAAAADmJ7AQ/original"
}
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/site-build-notify.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/sync-notify.yml

This file was deleted.

0 comments on commit 4df6fed

Please sign in to comment.