Skip to content

Commit

Permalink
feature/op vault (#118)
Browse files Browse the repository at this point in the history
* update id of vault in 1password

* update changelog and version
  • Loading branch information
lissmeister authored Nov 6, 2024
1 parent bd7e3a4 commit 8089023
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.20.0 (2024-11-06)
### Fixes
🛠 Fix faulty item id after changing vaults in 1Password.

## 2.19.0 (2024-10-02)
### Features
* feat(sendgrid): ✨ Update checking of correct ip before accessing the Sendgrid api
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { checkLisaVersion } from "./lib/versions.js"
import { generateVaultPass } from "./tasks/trellis.js"

export const program = new Command()
export const LISA_VERSION = "2.19.0"
export const LISA_VERSION = "2.20.0"

resetConf()
checkNodeVersion()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@triggerfishab/lisa-cli",
"version": "2.19.0",
"version": "2.20.0",
"description": "CLI commands to generate a new project based on Lisa",
"main": "./index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion tasks/services/godaddy.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function createGoDaddyDnsRecord(recordData) {
async function getCredentials() {
try {
return await exec(
`op item get l2i57yslyjfr5jsieew4imwxgq --fields label="godaddy.api key",label="godaddy.api secret"`,
`op item get uhfxs25bmpaqk24fay4wz7qsie --fields label="godaddy.api key",label="godaddy.api secret"`,
).then((res) => res.stdout.trim().split(","))
} catch (error) {
writeError(`Failed accessing 1Password. \n ${error}`)
Expand Down
2 changes: 1 addition & 1 deletion tasks/services/kinsta.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { writeError, writeSuccess } from "../../lib/write.js"
async function createKinstaSite() {
try {
const [apiKey, companyId] = await exec(
"op item get l2i57yslyjfr5jsieew4imwxgq --fields label='kinsta.api key',label='kinsta.company id'",
"op item get uhfxs25bmpaqk24fay4wz7qsie --fields label='kinsta.api key',label='kinsta.company id'",
).then((res) => res.stdout.trim().split(","))

const projectName = await askForProjectName(
Expand Down
2 changes: 1 addition & 1 deletion tasks/services/sendgrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function setupSendgridAccount() {
writeStep("Creating Sendgrid subuser")
try {
apiKey = await exec(
`op item get l2i57yslyjfr5jsieew4imwxgq --fields label="sendgrid.api key"`,
`op item get uhfxs25bmpaqk24fay4wz7qsie --fields label="sendgrid.api key"`,
).then((res) => res.stdout.trim())
} catch (error) {
writeError(`Failed accessing 1Password. \n ${error}`)
Expand Down

0 comments on commit 8089023

Please sign in to comment.