[infinispan-issues] [JBoss JIRA] (ISPN-4814) Publishing the site via awestruct doesn't work

Dan Berindei (JIRA) issues at jboss.org
Wed Oct 8 05:06:11 EDT 2014


Dan Berindei created ISPN-4814:
----------------------------------

             Summary: Publishing the site via awestruct doesn't work
                 Key: ISPN-4814
                 URL: https://issues.jboss.org/browse/ISPN-4814
             Project: Infinispan
          Issue Type: Bug
          Components: Build process
    Affects Versions: 7.0.0.CR1
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 7.0.0.CR2


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

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

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.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the infinispan-issues mailing list