forked from cerc-io/cosmos-explorer
Update deploy
This commit is contained in:
parent
b5b606bd08
commit
5b18d947df
@ -3,14 +3,14 @@ name: Ping Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, testnet ]
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master, testnet ]
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Ping deploy
|
||||
runs-on: ${{ GITHUB_REF#refs/heads/ }}
|
||||
runs-on: mainnet
|
||||
steps:
|
||||
- name: print
|
||||
run: echo ${GITHUB_REF#refs/heads/}
|
27
.github/workflows/testnet-deploy.yaml
vendored
Normal file
27
.github/workflows/testnet-deploy.yaml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
|
||||
name: Ping Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ testnet ]
|
||||
pull_request:
|
||||
branches: [ testnet ]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Ping deploy
|
||||
runs-on: testnet
|
||||
steps:
|
||||
- name: print
|
||||
run: echo ${GITHUB_REF#refs/heads/}
|
||||
- name: Git Checkout Latest
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install
|
||||
run: yarn install
|
||||
|
||||
- name: Build
|
||||
run: yarn run vue-cli-service build
|
||||
|
||||
- name: Deploy
|
||||
run: cp -rf ./dist/* /var/www/html/
|
Loading…
Reference in New Issue
Block a user