-
Notifications
You must be signed in to change notification settings - Fork 0
executable file
·44 lines (37 loc) · 1.47 KB
/
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
37
38
39
40
41
42
43
44
name: CI
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "lts/*"
- run: npm install --frozen-lockfile
- run: npm run build
env:
VUE_APP_API_SERVER: ${{ secrets.VUE_APP_API_SERVER }}
VUE_APP_API_SERVER_LONG_POLLING_TIMEOUT_SEC: ${{ secrets.VUE_APP_API_SERVER_LONG_POLLING_TIMEOUT_SEC }}
VUE_APP_STRIPE_KEY: ${{ secrets.VUE_APP_STRIPE_KEY }}
VUE_APP_STATEMINE_PROVIDER: ${{ secrets.VUE_APP_STATEMINE_PROVIDER }}
VUE_APP_PRICE_PER_STRGZN_CENTS: ${{ secrets.VUE_APP_PRICE_PER_STRGZN_CENTS }}
VUE_APP_PRICE_PER_NFT_STRGZNS: ${{ secrets.VUE_APP_PRICE_PER_NFT_STRGZNS }}
VUE_APP_ACCESS_TOKEN_ASSET_ID: ${{ secrets.VUE_APP_ACCESS_TOKEN_ASSET_ID }}
VUE_APP_ACCESS_TOKEN_RECV_ACCOUNT: ${{ secrets.VUE_APP_ACCESS_TOKEN_RECV_ACCOUNT }}
VUE_APP_CRYPTO_PAYMENT_RECV_ACCOUNT: ${{ secrets.VUE_APP_CRYPTO_PAYMENT_RECV_ACCOUNT }}
VUE_APP_TYPEFORM_ID: ${{ secrets.VUE_APP_TYPEFORM_ID }}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
cname: telescope.merklebot.com