Skip to content

Commit

Permalink
Issue #2 import phaser an d use separate deploy for non master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed May 5, 2022
1 parent b509894 commit 0143747
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,16 @@ jobs:
yarn install
yarn run webpack
- name: Deploy 🚀
- name: Deploy from master 🚀
if: github.ref == 'refs/heads/master'
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.

- name: Deploy not master 🚀
if: github.ref != 'refs/heads/master'
uses: JamesIves/[email protected]
with:
branch: gh-pages-testing # The branch the action should deploy to.
folder: build # The folder the action should deploy.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'phaser'
import Phaser from 'phaser'

import { CutTheString } from './scenes/cut-the-string'

Expand Down

0 comments on commit 0143747

Please sign in to comment.