[ https://issues.apache.org/jira/browse/GEODE-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15883565#comment-15883565 ]
ASF GitHub Bot commented on GEODE-2507: --------------------------------------- Github user scmbuildguy commented on a diff in the pull request: https://github.com/apache/geode-site/pull/1#discussion_r103036769 --- Diff: build.gradle --- @@ -16,10 +16,50 @@ */ plugins { - id "org.nosphere.apache.rat" version "0.3.0" + id 'org.nosphere.apache.rat' version '0.3.0' + id 'org.ajoberstar.grgit' version '1.6.0' } -apply plugin: "org.nosphere.apache.rat" +apply plugin: 'org.ajoberstar.grgit' + +task clean << { + delete buildDir +} + +def dockerCmd = "docker run -v '${projectDir}':/geode-site -p 3000:3000 -w /geode-site/website apachegeode/geode-site-build " + +task compile(type:Exec, dependsOn: rat) { + inputs.dir "${projectDir}/website" + outputs.dir "${buildDir}/content" + executable 'bash' + args "-c", dockerCmd + "nanoc compile" +} + +task view(type:Exec, dependsOn: compile) { + executable 'bash' + args "-c", dockerCmd + "nanoc view" +} + +task publish(dependsOn: compile) { --- End diff -- Should the publish task also do the 'push' as well? When I think I am going to publish something, I would think it do all the steps. > Acquire and populate new geode-site repo for the web site > --------------------------------------------------------- > > Key: GEODE-2507 > URL: https://issues.apache.org/jira/browse/GEODE-2507 > Project: Geode > Issue Type: New Feature > Components: web-content > Reporter: Karen Smoler Miller > Assignee: Karen Smoler Miller > > Move the web site content to its own repo. > 1. Acquire the repo. Name it geode-site. > 2. Populate the repo with the current web site's contents on the master branch > 3. Request that the asf-site branch be switched from the geode repo to this > new geode-site repo, and test that everything works > 4. Update the contents of LICENSE files for geode and geode-site > 5. Setup auto-publish by creating an INFRA JIRA ticket > 6. Revise README for publishing instructions -- This message was sent by Atlassian JIRA (v6.3.15#6346)