-
Notifications
You must be signed in to change notification settings - Fork 3
31 lines (29 loc) · 938 Bytes
/
publish.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
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and Push
# TODO: remove this ci line when we have no warnings
env:
CI: ''
run: |
yarn install
yarn build
cd build
echo "rewards.evmos.me" > CNAME
touch .nojekyll
git init
git config --global user.email "[email protected]"
git config --global user.name "Hanchon"
git add -A
git commit -m "Build"
git push -f https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/hanchon/testnetrewards.git master:gh-pages