mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
Build in deploy step (#322)
This commit is contained in:
parent
0b2a217bf2
commit
ef29a7e7d0
7
.github/workflows/build_and_deploy.yml
vendored
7
.github/workflows/build_and_deploy.yml
vendored
|
@ -20,6 +20,13 @@ jobs:
|
|||
shell: bash
|
||||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
|
||||
id: extract_branch
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2.3.1
|
||||
if: steps.extract_branch.outputs.branch == 'master'
|
||||
- name: Build
|
||||
run: |
|
||||
./gradlew run
|
||||
if: steps.extract_branch.outputs.branch == 'master'
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.4
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue
Block a user