4
0
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:
Matthew Tancik 2022-10-05 00:04:41 -07:00 committed by GitHub
parent 186d590105
commit a794613af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 7 deletions

View File

@ -2,9 +2,9 @@ name: Core Tests.
on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]
permissions:
contents: read

View File

@ -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}}

View File

@ -3,7 +3,7 @@ name: Run prettier for Nerfviewer.
on:
pull_request:
branches:
- master
- main
types: [closed]
jobs:

View File

@ -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}'""")