diff --git a/.github/workflows/build_linux_server.yml b/.github/workflows/build_linux_server.yml index 8f2eb102..0c1c08fe 100644 --- a/.github/workflows/build_linux_server.yml +++ b/.github/workflows/build_linux_server.yml @@ -8,7 +8,12 @@ on: required: true default: 'BEAMPROJ_Sandbox' type: string - + secrets: + GHCR_ACTOR: + required: true + GHCR_TOKEN: + required: true + permissions: contents: write diff --git a/.github/workflows/build_linux_server_BEAMPROJ_HathoraDemo.yml b/.github/workflows/build_linux_server_BEAMPROJ_HathoraDemo.yml index d5b1b327..9799bb7f 100644 --- a/.github/workflows/build_linux_server_BEAMPROJ_HathoraDemo.yml +++ b/.github/workflows/build_linux_server_BEAMPROJ_HathoraDemo.yml @@ -20,4 +20,7 @@ jobs: deploy: uses: Beamable/UnrealSDK/.github/workflows/build_linux_server.yml@dev with: - beamProj: BEAMPROJ_HathoraDemo \ No newline at end of file + beamProj: BEAMPROJ_HathoraDemo + secrets: + GHCR_ACTOR: ${{ secrets.GHCR_ACTOR }} + GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 22c3f7ed..e325830e 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -1,4 +1,4 @@ -name: Windows build +name: Windows Client Build - Template on: workflow_dispatch: @@ -6,6 +6,13 @@ on: branches: - dev - main + workflow_call: + inputs: + beamProj: + description: 'The BEAMPROJ we are building. Ie: BEAMPROJ_Sandbox or BEAMPROJ_HathoraDemo.' + required: true + default: 'BEAMPROJ_Sandbox' + type: string permissions: contents: write @@ -20,6 +27,10 @@ jobs: - run: git clean -fdx - name: Prepare Repository for Compilation run: bash init_repo.sh + - name: Set BeamProjOverride.txt + run: | + echo ${{ inputs.beamProj }} > BeamProjOverride.txt | + cat BeamProjOverride.txt - name: Build image run: .\windows_build_project.ps1 - name: Compress Directory diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5b2fef6f..14bbc88c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,12 +1,16 @@ -name: Docs deploy +name: Docs - Deploy on: push: branches: - dev - main + paths: + - Docs/** + permissions: contents: write + jobs: deploy: runs-on: ubuntu-latest