-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (48 loc) · 1.61 KB
/
client-v3-pipeline.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
41
42
43
44
45
46
47
48
49
50
51
52
# name: Deploy client to cloudtype
# on:
# push:
# branches:
# - client-v3
# jobs:
# deploy:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Connect deploy key
# uses: cloudtype-github-actions/connect@v1
# with:
# token: ${{ secrets.CLOUDTYPE_TOKEN }}
# ghtoken: ${{ secrets[format('GHCR_TOKEN_{0}', github.actor)] }}
# - name: Deploy
# uses: cloudtype-github-actions/deploy@v1
# with:
# token: ${{ secrets.CLOUDTYPE_TOKEN }}
# project: during/during-budget
# stage: production
# yaml: >
# name: client
# app: web
# options:
# nodeversion: "16"
# build: npm run build
# spa: true
# install: npm install
# buildenv:
# - name: DURING_CLIENT
# value: ${{secrets.CLIENT_V3}}
# - name: DURING_SERVER
# value: ${{secrets.SERVER_URL_V3}}
# - name: DURING_SENTRY
# value: ${{secrets.DURING_SENTRY}}
# - name: DURING_STORE_CODE
# value: ${{secrets.DURING_STORE_CODE}}
# - name: DURING_CHANNEL_KEY
# value: ${{secrets.DURING_CHANNEL_KEY}}
# docbase: /dist
# indexpage: index.html
# context:
# git:
# url: git@github.com:${{ github.repository }}.git
# ref: ${{ github.ref }}
# path: client