cosmos-explorer/.github/workflows/testnet-deploy.yaml

27 lines
469 B
YAML
Raw Permalink Normal View History

2021-08-05 11:10:25 +00:00
name: Ping Deploy
on:
push:
2021-11-18 06:34:58 +00:00
branches: [ testnet ]
2021-08-05 11:10:25 +00:00
pull_request:
2021-11-18 06:34:58 +00:00
branches: [ testnet ]
2021-08-05 11:10:25 +00:00
jobs:
deploy:
2021-08-05 11:14:33 +00:00
name: Ping deploy
2021-11-18 06:34:58 +00:00
runs-on: testnet
2021-08-05 11:10:25 +00:00
steps:
2021-11-18 05:49:30 +00:00
- name: print
run: echo ${GITHUB_REF#refs/heads/}
2021-08-05 11:14:33 +00:00
- name: Git Checkout Latest
2021-08-05 11:10:25 +00:00
uses: actions/checkout@v2
2021-08-05 14:47:18 +00:00
- name: Install
2021-08-05 13:11:11 +00:00
run: yarn install
2021-08-05 13:12:59 +00:00
2021-08-05 14:47:18 +00:00
- name: Build
run: yarn run vue-cli-service build
- name: Deploy
run: cp -rf ./dist/* /var/www/html/