Skip to content

Add GitHub Actions

Add GitHub Actions #1

Workflow file for this run

name: Build and Upload Bundles to S3
on:
push:
branches-ignore:
- master
jobs:
build:
name: Run Build
uses: OxideMod/Actions/.github/workflows/game-build.yaml@main
with:
game: "ReignOfKings"
branch-postfix: "-${{ github.ref_name }}"
secrets:
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
deploy:
name: Deploy to S3
uses: OxideMod/Actions/.github/workflows/r2-publish.yaml@main
needs: build
with:
generate-filehash: true
secrets:
CLOUDFLARE_R2_KEY: ${{ secrets.CLOUDFLARE_R2_KEY }}
CLOUDFLARE_R2_SECRET: ${{ secrets.CLOUDFLARE_R2_SECRET }}
CLOUDFLARE_R2_ENDPOINT: ${{ secrets.CLOUDFLARE_R2_ENDPOINT }}