Rename the master branch to main

This commit is contained in:
Martin Robinson 2023-11-27 14:03:16 +01:00
parent 7bcb25c85c
commit 23add0c1e5
14 changed files with 47 additions and 51 deletions

View file

@ -2,7 +2,7 @@ name: Docs upload
on:
push:
branches: ["master"]
branches: ["main"]
workflow_dispatch:
jobs:
@ -32,6 +32,6 @@ jobs:
git -c user.name="Workflow" -c user.email="" \
commit -q -m "Rebuild Servo documentation"
git remote add origin https://git:${DOC_SERVO_ORG}@github.com/servo/doc.servo.org
git push --force origin master:gh-pages
git push --force origin main:gh-pages
env:
DOC_SERVO_ORG: ${{ secrets.DOC_SERVO_ORG }}