[ https://issues.apache.org/jira/browse/GEODE-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15883576#comment-15883576 ]
ASF GitHub Bot commented on GEODE-2507: --------------------------------------- Github user metatype commented on a diff in the pull request: https://github.com/apache/geode-site/pull/1#discussion_r103039387 --- 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 -- I thought about that, but I'm hesitant to go all the way (git add/commit/push) since that would require a clean workspace and we'd have to figure out `git rm` cases. At least this can be used as a starting point and is less confusing than the prior `tar` instructions. > 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)