Branch based conditions
Branch based conditions Branch based conditions Branch based conditions Branch based conditions Branch based conditions Branch based conditions Branch based conditions
This commit is contained in:
parent
5871aab47a
commit
bd69d8d1d3
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: Build & Push
|
name: Build & Push
|
||||||
|
|
||||||
on: [push]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -21,12 +21,13 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SOURCE_DIR: build
|
SOURCE_DIR: build
|
||||||
AWS_REGION: us-east-1
|
AWS_REGION: us-east-1
|
||||||
DEST_DIR: glitch/builds
|
DEST_DIR: glitch/builds/${{ github.ref }}
|
||||||
AWS_S3_BUCKET: sumu-games-pkg-us-east-1
|
AWS_S3_BUCKET: sumu-games-pkg-us-east-1
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
- name: Butler Publish Linux
|
- name: Butler Publish Linux
|
||||||
uses: josephbmanley/butler-publish-itchio-action@v1.0.0
|
uses: josephbmanley/butler-publish-itchio-action@v1.0.0
|
||||||
|
if: github['ref'] == 'refs/heads/develop'
|
||||||
env:
|
env:
|
||||||
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
|
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
|
||||||
VERSION: develop
|
VERSION: develop
|
||||||
@ -36,6 +37,7 @@ jobs:
|
|||||||
PACKAGE: build/linux
|
PACKAGE: build/linux
|
||||||
- name: Butler Publish Windows
|
- name: Butler Publish Windows
|
||||||
uses: josephbmanley/butler-publish-itchio-action@v1.0.0
|
uses: josephbmanley/butler-publish-itchio-action@v1.0.0
|
||||||
|
if: github['ref'] == 'refs/heads/develop'
|
||||||
env:
|
env:
|
||||||
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
|
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
|
||||||
VERSION: develop
|
VERSION: develop
|
||||||
@ -45,6 +47,7 @@ jobs:
|
|||||||
PACKAGE: build/windows
|
PACKAGE: build/windows
|
||||||
- name: Butler Publish HTML5
|
- name: Butler Publish HTML5
|
||||||
uses: josephbmanley/butler-publish-itchio-action@v1.0.0
|
uses: josephbmanley/butler-publish-itchio-action@v1.0.0
|
||||||
|
if: github['ref'] == 'refs/heads/develop'
|
||||||
env:
|
env:
|
||||||
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
|
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
|
||||||
VERSION: develop
|
VERSION: develop
|
||||||
@ -54,6 +57,7 @@ jobs:
|
|||||||
PACKAGE: build/html5/GITS
|
PACKAGE: build/html5/GITS
|
||||||
- name: Butler Publish OSX
|
- name: Butler Publish OSX
|
||||||
uses: josephbmanley/butler-publish-itchio-action@v1.0.0
|
uses: josephbmanley/butler-publish-itchio-action@v1.0.0
|
||||||
|
if: github['ref'] == 'refs/heads/develop'
|
||||||
env:
|
env:
|
||||||
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
|
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
|
||||||
VERSION: develop
|
VERSION: develop
|
||||||
|
Loading…
Reference in New Issue
Block a user