Skip to content

Commit

Permalink
Set up initiatives for the project
Browse files Browse the repository at this point in the history
This updates the project file mainly. Which means we now require
the environment variable `SOURCECRED_INITIATIVES_DIRECTORY` is set
and a valid directory. To make sure of this an empty directory is
added, and the environment variable is exported.
  • Loading branch information
Beanow committed Mar 30, 2020
1 parent 38d8450 commit cbbe5e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Empty file added initiatives/.gitkeep
Empty file.
5 changes: 4 additions & 1 deletion project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[
{
"type": "sourcecred/project",
"version": "0.4.0"
"version": "0.5.0"
},
{
"initiatives": {
"remoteUrl": "https://github.com/sourcecred/cred/tree/master/initiatives"
},
"discourseServer": {
"serverUrl": "https://discourse.sourcecred.io"
},
Expand Down
1 change: 1 addition & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -eu

rm -rf ./docs
PATH_TO_THIS_REPOSITORY="$(pwd)"
export SOURCECRED_INITIATIVES_DIRECTORY=${PATH_TO_THIS_REPOSITORY}/initiatives
cd $sc
./scripts/build_static_site.sh \
--target "$PATH_TO_THIS_REPOSITORY/docs" \
Expand Down

0 comments on commit cbbe5e5

Please sign in to comment.