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

Publishing the site via awestruct doesn't work

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: