Skip to content

Commit

Permalink
🐎ci(action): CI for PR (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
moelang authored Mar 8, 2021
1 parent db74e95 commit 00572e4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Unity Actions

on:
pull_request: {}
push: { branches: [main, develop] }
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
workflow_dispatch:

env:
UNITY_VERSION: 2020.2.2f1
Expand Down Expand Up @@ -113,6 +116,7 @@ jobs:
path: build
deploy:
needs: [build]
if: github.event_name != 'pull_request'
name: Deploy webgl contents to GitHub Pages
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 00572e4

Please sign in to comment.