Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15689 [Dev] Rename default branch to 'main'
  3. ARROW-15694

[Dev] Update apache/arrow-site GitHub Actions deploy.yml website deployment workflow to support being triggered when pushing to main

    XMLWordPrintableJSON

Details

    Description

      As part of the transition away from using the name master for the default Git branch, we need to update the GitHub Actions website deployment workflow trigger.

      Since there does not appear to be any way to dynamically compute the default Git branch name in a GitHub Actions push trigger condition, a temporary workaround would be to add support for pushing to either master or main.

      Once Apache Infra switches the default Git branch for apache/arrow-site to main, we can completely remove support for triggering the GitHub Actions website deployment workflow on pushes to master from .github/workflows/deploy.yml. This follow up work is tracked by ARROW-15988.

      The main file that will need updating is .github/workflows/deploy.yml.

      Attachments

        Activity

          People

            kgurney Kevin Gurney
            npr Neal Richardson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h