diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5abd0482..68a1cb1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,7 +72,7 @@ jobs: ${{ steps.deploy.outputs.URL }} deploy-production: - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' needs: build runs-on: ubuntu-latest steps: diff --git a/builder/src/constants.rs b/builder/src/constants.rs index 88c7e0ea..f1ed2f6f 100644 --- a/builder/src/constants.rs +++ b/builder/src/constants.rs @@ -50,7 +50,7 @@ pub(crate) static REPO_URL: Lazy = Lazy::new(|| { repo_url }); -pub(crate) const DEFAULT_BRANCH: &str = "master"; +pub(crate) const DEFAULT_BRANCH: &str = "main"; pub(crate) const GITHUB_PULL_REQUESTS_URL: &str = "https://docs.github.com\ /en/pull-requests/collaborating-with-pull-requests\