-
Notifications
You must be signed in to change notification settings - Fork 112
28 lines (27 loc) · 973 Bytes
/
seamoon.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: seamoon
on: [ push, pull_request ]
jobs:
build:
uses: ./.github/workflows/build.yml
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
docs:
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/feat/docs' }}
uses: ./.github/workflows/pages.yml
secrets:
GO_RELEASER_GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
release:
if: startsWith(github.ref, 'refs/tags/')
uses: ./.github/workflows/release.yml
secrets:
GO_RELEASER_GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
sync:
needs: [ build ]
if: startsWith(github.ref, 'refs/tags/')
uses: ./.github/workflows/sync.yml
secrets:
ALIYUN_USERNAME: ${{ secrets.ALIYUN_USERNAME }}
ALIYUN_PASSWORD: ${{ secrets.ALIYUN_PASSWORD }}
TENCENT_USERNAME: ${{ secrets.TENCENT_USERNAME }}
TENCENT_PASSWORD: ${{ secrets.TENCENT_PASSWORD }}