Move to main over master (#1642)

Resolves https://github.com/PhotonVision/photonvision/issues/251

---------

Signed-off-by: Jade Turner <spacey-sooty@proton.me>
This commit is contained in:
Jade
2024-12-21 01:24:52 +08:00
committed by GitHub
parent 81076375b8
commit ffc4e06ac6
16 changed files with 28 additions and 28 deletions

View File

@@ -1,13 +1,13 @@
name: Photon Code Documentation
on:
# Run on pushes to master and pushed tags, and on pull requests against master, but ignore the docs folder
# Run on pushes to main and pushed tags, and on pull requests against main, but ignore the docs folder
push:
branches: [ master ]
branches: [ main ]
tags:
- 'v*'
pull_request:
branches: [ master ]
branches: [ main ]
merge_group:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -78,7 +78,7 @@ jobs:
- run: find .
- name: copy file via ssh password
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
uses: appleboy/scp-action@v0.1.7
with:
host: ${{ secrets.WEBMASTER_SSH_HOST }}