-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 962 Bytes
/
main.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
28
29
30
31
32
33
34
35
36
name: Deploy
on:
push:
branches:
- main
jobs:
Deploy:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set yarn cache
uses: c-hive/gha-yarn-cache@v2
- name: Install dependencies
run: yarn
- name: Blocklet workflow
uses: blocklet/action-workflow@v1
with:
skip-upload: false
skip-deploy: false
bundle-command: yarn bundle
store-endpoint: ${{ secrets.STORE_ENDPOINT }}
store-access-token: ${{ secrets.STORE_ACCESS_TOKEN }}
server-endpoint: ${{ secrets.SERVER_ENDPOINT }}
server-access-key: ${{ secrets.SERVER_ACCESS_KEY }}
server-access-secret: ${{ secrets.SERVER_ACCESS_SECRET }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
github-token: ${{ secrets.GITHUB_TOKEN }}