Reusable Action that deploys a Blazium game. This action deploys a game already built using blazium-engine/export-blazium-game. The resulting build needs to be uploaded as an artifact.
This action can deploy to:
- Docker Registry
- itch.io
- Play Store
- iOS App Store
- macOS App Store
- Steam
For instructions on how to generate the secrets, go to the blazium-engine/export-blazium-game repo.
- Docker Deploy:
deploy-docker:
uses: blazium-engine/deploy-blazium-game/.github/workflows/deploy-docker.yml@master
with:
artifact-name: Web
docker-registry: registry.digitalocean.com
registry-path: org-name/image-name
secrets:
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-token: ${{ secrets.DOCKER_TOKEN }}
- Itchio Deploy:
deploy-itchio:
uses: blazium-engine/deploy-blazium-game/.github/workflows/deploy-itchio.yml@master
strategy:
fail-fast: false
max-parallel: 1
matrix:
artifact-name: ["Linux x86_64", "Linux x86_32", "Web", "macOS", "Windows Desktop x86_64", "Windows Desktop x86_32", "Windows Desktop arm64"]
with:
artifact-name: ${{ matrix.artifact-name }}
itchio-game: itch-game-name
itchio-username: itch-username
secrets:
butler-credentials: ${{ secrets.BUTLER_CREDENTIALS }}
- Android Deploy:
deploy-android:
uses: blazium-engine/deploy-blazium-game/.github/workflows/deploy-android.yml@master
with:
artifact-name: Android
android-package: com.example.game
game-name: GameName
secrets:
service-account-json-base64: ${{ secrets.SERVICE_ACCOUNT_JSON_BASE64 }}
- iOS Deploy:
deploy-ios:
uses: blazium-engine/deploy-blazium-game/.github/workflows/deploy-ios.yml@master
with:
artifact-name: iOS-apple-store
game-name: GameName
secrets:
apple-id: ${{ secrets.APPLE_ID }}
app-specific-password: ${{ secrets.APP_SPECIFIC_PASSWORD }}
- macOS Deploy:
deploy-macos:
uses: blazium-engine/deploy-blazium-game/.github/workflows/deploy-macos.yml@master
with:
artifact-name: macOS
game-name: GameName
macos-package: com.example.game
secrets:
apple-id: ${{ secrets.APPLE_ID }}
apple-team-id: ${{ secrets.APPLE_TEAM_ID }}
app-specific-password: ${{ secrets.APP_SPECIFIC_PASSWORD }}
deploy-certificate-base64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
install-certificate-base64: ${{ secrets.INSTALL_CERTIFICATE_BASE64 }}
p12-password: ${{ secrets.P12_PASSWORD }}
deploy-provisioning-profile-mac-base64: ${{ secrets.DEPLOY_PROVISION_PROFILE_MAC_BASE64 }}
keychain-password: ${{ secrets.KEYCHAIN_PASSWORD }}
- Steam Deploy:
deploy-steam:
uses: blazium-engine/deploy-blazium-game/.github/workflows/deploy-steam.yml@master
with:
game-version: 1.0
steam-win64-depot-id: 123456
steam-win32-depot-id: 123457
steam-linux64-depot-id: 123458
steam-linux32-depot-id: 123459
steam-mac-depot-id: 123460
steam-app-id: 123455
secrets:
steam-username: ${{ secrets.STEAM_USERNAME }}
steam-password: ${{ secrets.STEAM_PASSWORD }}
steam-shared-secret: ${{ secrets.STEAM_SHARED_SECRET }}