diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index ddf04cc4..e6c96fe6 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -1,12 +1,8 @@ -name: Manual CI/CD on PRs +name: CI/CD on PRs on: pull_request: - workflow_dispatch: - inputs: - branch_name: - description: 'The name of the branch to build from' - required: true + types: [ready_for_review] jobs: build: @@ -42,5 +38,5 @@ jobs: - name: Build and push id: docker_build run: | - docker build --no-cache --build-arg COMMIT_HASH=${{ steps.get_commit_sha.outputs.sha }} --build-arg VULKAN_DLL_PATH=./vulkan-sdt/1.3.268.0/runtime/x64/vulkan-1.dll -t quay.io/decentraland/lods-generator:${{ steps.get_commit_sha.outputs.sha }} . - docker push quay.io/decentraland/lods-generator:${{ steps.get_commit_sha.outputs.sha }} + docker build --no-cache --build-arg COMMIT_HASH=${{ github.sha }} --build-arg VULKAN_DLL_PATH=./vulkan-sdt/1.3.268.0/runtime/x64/vulkan-1.dll -t quay.io/decentraland/lods-generator:${{ github.sha }} . + docker push quay.io/decentraland/lods-generator:${{ github.sha }} diff --git a/consumer-server/src/utils/timer.ts b/consumer-server/src/utils/timer.ts index 77f4cb4b..f071d208 100644 --- a/consumer-server/src/utils/timer.ts +++ b/consumer-server/src/utils/timer.ts @@ -2,7 +2,6 @@ export async function timeout(ms: number, message: string) { return new Promise((_, reject) => setTimeout(() => reject(new Error(message)), ms)) } -// test change export async function sleep(ms: number) { return new Promise((ok) => setTimeout(ok, ms)) }