Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4814

Publishing the site via awestruct doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.CR2
    • 7.0.0.CR1
    • Build

    Description

      The publish_production.sh script uses awestruct --deploy to publish the site. Normally it should do something like this:

      git checkout master   
      cp -r _site/* .   
      git commit -a -m "Published master to GitHub pages."   
      git push origin master  
      

      Instead, it deletes everything on the master branch and pushes that, taking the site down (because GitHub relies on a CNAME file to find the domain name). The solution is to revert the commit (since some files are not generated) and publish the site manually.

      This could be caused by an incompatibility between the version of git on the CI machine and the 'git' gem used by awestruct.

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: