Skip to content

Commit 1a9c27f

Browse files
authored
feat: FDROID_REPO_TOKEN secret (#1800)
1 parent d6ba394 commit 1a9c27f

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

tf/deployment/modules/shared/1password/account/secrets.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ module "manual-secrets" {
4343
"IOS_DEVELOPMENT_PROVISIONING_PROFILE",
4444
"IOS_DEVELOPMENT_PROVISIONING_PROFILE_WIDGET_EXTENSION",
4545
"IOS_DEVELOPMENT_PROVISIONING_PROFILE_SHARE_EXTENSION",
46+
"FDROID_REPO_TOKEN",
4647
"OUTLINE_ROLE_SYNC_OUTLINE_API_TOKEN",
4748
"GITLAB_OAUTH_APP_FUTO_ZITADEL_CLIENT_ID",
4849
"GITLAB_OAUTH_APP_FUTO_ZITADEL_CLIENT_SECRET",

tf/deployment/modules/shared/github/secrets/secrets.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,3 +437,14 @@ resource "github_actions_organization_secret" "OUTLINE_API_KEY" {
437437
plaintext_value = data.onepassword_item.OUTLINE_API_KEY.password
438438
visibility = "all"
439439
}
440+
441+
data "onepassword_item" "FDROID_REPO_TOKEN" {
442+
title = "FDROID_REPO_TOKEN"
443+
vault = data.onepassword_vault.tf.name
444+
}
445+
446+
resource "github_actions_organization_secret" "FDROID_REPO_TOKEN" {
447+
secret_name = "FDROID_REPO_TOKEN"
448+
plaintext_value = data.onepassword_item.FDROID_REPO_TOKEN.password
449+
visibility = "all"
450+
}

0 commit comments

Comments
 (0)