-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 893 Bytes
/
ci.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
37
38
39
40
name: ci-deploying
run-name: ${{ github.actor }} is deploying Reise release
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v3
- name: Install node
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install all dependencies
run: |
corepack enable yarn
yarn install --frozen-lockfile
- name: Build
run: yarn build
# - name: Add CNAME
# run: |
# cd dist
# echo "greenrute.com" > CNAME
# cd ..
- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Розгортання: ({sha}) {msg}"