Update branch from master to main (#680)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-10-05 00:04:41 -07:00
1 parent 186d590105
commit a794613af2
4 files changed
+6 -7

No files matched your search

+2 -2
View File
@@ -2,9 +2,9 @@ name: Core Tests.
on: on:
push: push:
branches: [master] branches: [main]
pull_request: pull_request:
branches: [master] branches: [main]
permissions: permissions:
contents: read contents: read
+2 -3
View File
@@ -2,9 +2,9 @@ name: Viewer Build and Deploy.
on: on:
push: push:
branches: [master] branches: [main]
pull_request: pull_request:
branches: [master] branches: [main]
jobs: jobs:
build: build:
@@ -40,7 +40,6 @@ jobs:
name: Deploy name: Deploy
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/master'
env: env:
SSH_KEY: ${{secrets.SSH_KEY}} SSH_KEY: ${{secrets.SSH_KEY}}
+1 -1
View File
@@ -3,7 +3,7 @@ name: Run prettier for Nerfviewer.
on: on:
pull_request: pull_request:
branches: branches:
- master - main
types: [closed] types: [closed]
jobs: jobs:
+1 -1
View File
@@ -118,7 +118,7 @@ def main(
run_cmd(f"""scp -r {local_folder} {host}:/home/eweb0124/build""") run_cmd(f"""scp -r {local_folder} {host}:/home/eweb0124/build""")
# update the symlink of latest # update the symlink of latest
if branch_name == "master": if branch_name == "main":
# move the build folder to the correct location # move the build folder to the correct location
run_cmd(f"""ssh {host} 'rm -rf {remote_folder}/{version}'""") run_cmd(f"""ssh {host} 'rm -rf {remote_folder}/{version}'""")