diff --git a/.github/workflows/core_code_checks.yml b/.github/workflows/core_code_checks.yml index 9dd70f5a4..3c9195f2a 100644 --- a/.github/workflows/core_code_checks.yml +++ b/.github/workflows/core_code_checks.yml @@ -2,9 +2,9 @@ name: Core Tests. on: push: - branches: [master] + branches: [main] pull_request: - branches: [master] + branches: [main] permissions: contents: read diff --git a/.github/workflows/viewer_build_deploy.yml b/.github/workflows/viewer_build_deploy.yml index cbd86fe2c..ebae32df2 100644 --- a/.github/workflows/viewer_build_deploy.yml +++ b/.github/workflows/viewer_build_deploy.yml @@ -2,9 +2,9 @@ name: Viewer Build and Deploy. on: push: - branches: [master] + branches: [main] pull_request: - branches: [master] + branches: [main] jobs: build: @@ -40,7 +40,6 @@ jobs: name: Deploy needs: build runs-on: ubuntu-latest - # if: github.ref == 'refs/heads/master' env: SSH_KEY: ${{secrets.SSH_KEY}} diff --git a/.github/workflows/viewer_prettier.yaml b/.github/workflows/viewer_prettier.yaml index 82d2cf087..55b1fe2a2 100644 --- a/.github/workflows/viewer_prettier.yaml +++ b/.github/workflows/viewer_prettier.yaml @@ -3,7 +3,7 @@ name: Run prettier for Nerfviewer. on: pull_request: branches: - - master + - main types: [closed] jobs: diff --git a/nerfstudio/viewer/app/run_deploy.py b/nerfstudio/viewer/app/run_deploy.py index 97d86c4a6..9cc2a6763 100644 --- a/nerfstudio/viewer/app/run_deploy.py +++ b/nerfstudio/viewer/app/run_deploy.py @@ -118,7 +118,7 @@ def main( run_cmd(f"""scp -r {local_folder} {host}:/home/eweb0124/build""") # update the symlink of latest - if branch_name == "master": + if branch_name == "main": # move the build folder to the correct location run_cmd(f"""ssh {host} 'rm -rf {remote_folder}/{version}'""")