Build in deploy step (#322)

This commit is contained in:
ligi 2021-07-05 01:16:00 +02:00 committed by GitHub
parent 0b2a217bf2
commit ef29a7e7d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: