mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 18:44:21 +08:00
Update branch from master to main (#680)
This commit is contained in:
parent
186d590105
commit
a794613af2
4
.github/workflows/core_code_checks.yml
vendored
4
.github/workflows/core_code_checks.yml
vendored
@ -2,9 +2,9 @@ name: Core Tests.
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
5
.github/workflows/viewer_build_deploy.yml
vendored
5
.github/workflows/viewer_build_deploy.yml
vendored
@ -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}}
|
||||
|
||||
2
.github/workflows/viewer_prettier.yaml
vendored
2
.github/workflows/viewer_prettier.yaml
vendored
@ -3,7 +3,7 @@ name: Run prettier for Nerfviewer.
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
types: [closed]
|
||||
|
||||
jobs:
|
||||
|
||||
@ -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}'""")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user