-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) ยท 804 Bytes
/
cd.yml
File metadata and controls
37 lines (30 loc) ยท 804 Bytes
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
37
name: Build and Deploy
on:
push:
branches: [ master ]
jobs:
cd:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
node: [ 16 ]
steps:
- name: Checkout ๐
uses: actions/checkout@v3
- name: Setup node env ๐
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: Install dependencies ๐จ๐ปโ๐ป
run: yarn
- name: Generate ๐ท
run: yarn export
- name: Deploy ๐
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
commit_message: ${{ github.event.head_commit.message }}
cname: new.soundux.rocks