diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b427e5..1fdb5f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,9 +10,6 @@ on: branches: - master - # so we can manually run a build - workflow_dispatch: - jobs: build: runs-on: [ubuntu-20.04] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ccc9b1..1be07df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,11 +5,6 @@ on: push: branches: - staging - pull_request: - branches: - - staging - # so we can manually run a test also - workflow_dispatch: jobs: test: diff --git a/README.md b/README.md index 1bf417d..6c89cff 100644 --- a/README.md +++ b/README.md @@ -183,6 +183,43 @@ Then add the following line, update the time as needed 10 5 * * MON /home/username/v2_builder/run.sh >> /home/username/v2_builder/builder.log 2>&1 ``` +### Use GitHub Actions + +You will need to setup a list of secrets in your fork of v2_builder. + +> The github user email being used to build +- GETBIBLE_GIT_EMAIL +> The github username being used to build +- GETBIBLE_GIT_USER +> gpg -a --export-secret-keys >myprivatekeys.asc +> The whole key file text from the above myprivatekeys.asc +> This key must be linked to the github user being used +- GETBIBLE_GPG_KEY +> The name of the myprivatekeys.asc user +- GETBIBLE_GPG_USER +> A **OFFICIAL** repository of the hash files +> like: git@github.com:getbible/v2.git +> the github user must have push/pull access to this repo +- GETBIBLE_HASH_REPO +> A **TEST** repository of the hash files +> like: git@github.com:Llewellyn/v2.git +> the github user must have push/pull access to this repo +- GETBIBLE_HASH_REPO_T +> A **OFFICIAL** repository of the scripture files +> like: git@github.com:getbible/v2_scripture.git +> the github user must have push/pull access to this repo +- GETBIBLE_SCRIPTURE_REPO +> A **TEST** repository of the scripture files +> like: git@github.com:Llewellyn/v2_scripture.git +> the github user must have push/pull access to this repo +- GETBIBLE_SCRIPTURE_REPO_T +> A id_ed25519 ssh private key liked to the github user account +- GETBIBLE_SSH_KEY +> A id_ed25519.pub ssh public key liked to the github user account +- GETBIBLE_SSH_PUB + +All these secret values are needed to fully automate the build. Then you need to go to the actions are in your fork of v2_builder and activate the actions. + # Don't Forget Our Agreement! ### Free Software (with responsibility) diff --git a/conf/CrosswireModulesMapTest.json b/conf/CrosswireModulesMapTest.json index a86c11b..43a8c43 100644 --- a/conf/CrosswireModulesMapTest.json +++ b/conf/CrosswireModulesMapTest.json @@ -1,61 +1,6 @@ { - "Peshitta" : "peshitta", - "ArmEastern" : "easternarmenian", - "ArmWestern" : "westernarmenian", - "BasHautin" : "basque", - "ChiUns" : "cus", - "ChiUn" : "cut", - "CopNT" : "coptic", - "CopSahHorner" : "sahidic", - "Cro" : "croatia", - "CzeBKR" : "bkr", - "DaOT1931NT1907" : "danish", - "DutSVV" : "statenvertaling", - "ASV" : "asv", - "BBE" : "basicenglish", - "DRC" : "douayrheims", "KJV" : "kjv", - "KJVA": "kjva", - "Webster" : "wb", - "Weymouth" : "weymouth", - "WEB" : "web", - "Tyndale": "tyndale", - "YLT" : "ylt", - "Wycliffe" : "wycliffe", - "Esperanto" : "esperanto", - "FinBiblia" : "finnish1776", - "FinPR" : "pyharaamattu1933", - "FreJND" : "darby", - "FreMartin" : "martin", - "GerElb1871" : "elberfelder", - "GerElb1905" : "elberfelder1905", - "GerLut1545" : "luther1545", - "Wulfila" : "gothic", - "GreVamvas" : "moderngreek", "TR" : "textusreceptus", - "Tisch" : "tischendorf", - "WHNU" : "westcotthort", "Aleppo" : "aleppo", - "HebModern" : "modernhebrew", - "WLC" : "codex", - "HunKar" : "karoli", - "ItaDio" : "giovanni", - "ItaRive" : "riveduta", - "KorRV" : "korean", - "VulgClementine" : "vulgate", - "Mal1910" : "mal1910", - "ManxGaelic" : "manxgaelic", - "BurJudson" : "judson", - "Norsk" : "bibelselskap", - "PorAR" : "almeida", - "PotLykins" : "potawatomi", - "RusSynodal" : "synodal", - "ScotsGaelic" : "gaelic", - "SpaRV" : "rv1858", - "SpaRV1865" : "sse", - "Swahili" : "swahili", - "Swe1917" : "swedish", - "TagAngBiblia" : "tagalog", - "UkrKulish" : "ukranian", - "Viet" : "vietnamese" + "WLC" : "codex" } \ No newline at end of file diff --git a/conf/PublicDomainBibles.json b/conf/PublicDomainBibles.json new file mode 100644 index 0000000..a86c11b --- /dev/null +++ b/conf/PublicDomainBibles.json @@ -0,0 +1,61 @@ +{ + "Peshitta" : "peshitta", + "ArmEastern" : "easternarmenian", + "ArmWestern" : "westernarmenian", + "BasHautin" : "basque", + "ChiUns" : "cus", + "ChiUn" : "cut", + "CopNT" : "coptic", + "CopSahHorner" : "sahidic", + "Cro" : "croatia", + "CzeBKR" : "bkr", + "DaOT1931NT1907" : "danish", + "DutSVV" : "statenvertaling", + "ASV" : "asv", + "BBE" : "basicenglish", + "DRC" : "douayrheims", + "KJV" : "kjv", + "KJVA": "kjva", + "Webster" : "wb", + "Weymouth" : "weymouth", + "WEB" : "web", + "Tyndale": "tyndale", + "YLT" : "ylt", + "Wycliffe" : "wycliffe", + "Esperanto" : "esperanto", + "FinBiblia" : "finnish1776", + "FinPR" : "pyharaamattu1933", + "FreJND" : "darby", + "FreMartin" : "martin", + "GerElb1871" : "elberfelder", + "GerElb1905" : "elberfelder1905", + "GerLut1545" : "luther1545", + "Wulfila" : "gothic", + "GreVamvas" : "moderngreek", + "TR" : "textusreceptus", + "Tisch" : "tischendorf", + "WHNU" : "westcotthort", + "Aleppo" : "aleppo", + "HebModern" : "modernhebrew", + "WLC" : "codex", + "HunKar" : "karoli", + "ItaDio" : "giovanni", + "ItaRive" : "riveduta", + "KorRV" : "korean", + "VulgClementine" : "vulgate", + "Mal1910" : "mal1910", + "ManxGaelic" : "manxgaelic", + "BurJudson" : "judson", + "Norsk" : "bibelselskap", + "PorAR" : "almeida", + "PotLykins" : "potawatomi", + "RusSynodal" : "synodal", + "ScotsGaelic" : "gaelic", + "SpaRV" : "rv1858", + "SpaRV1865" : "sse", + "Swahili" : "swahili", + "Swe1917" : "swedish", + "TagAngBiblia" : "tagalog", + "UkrKulish" : "ukranian", + "Viet" : "vietnamese" +} \ No newline at end of file