diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 923288b..ef99277 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,8 +13,16 @@ jobs: yarn install yarn run webpack - - name: Deploy 🚀 + - name: Deploy from master 🚀 + if: github.ref == 'refs/heads/master' uses: JamesIves/github-pages-deploy-action@4.1.3 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/github-pages-deploy-action@4.1.3 + with: + branch: gh-pages-testing # The branch the action should deploy to. + folder: build # The folder the action should deploy. diff --git a/src/index.js b/src/index.js index f543c1e..cae924f 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -import 'phaser' +import Phaser from 'phaser' import { CutTheString } from './scenes/cut-the-string'