From 3e7ddc430fdfda26bdf900dcb09defeeb47cb583 Mon Sep 17 00:00:00 2001
From: Leonid Svyatov
Date: Sat, 6 Jul 2024 01:10:33 +0400
Subject: [PATCH] Revert "fix: Gives kamal access to OP_SERVICE_ACCOUNT_TOKEN"
This reverts commit 45d507e2545b651fdf13e657fa0b919eafe314fc.
---
.github/workflows/deploy.yml | 8 ++++++--
app/views/index/show.html.erb | 2 +-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 600e200..adc2a25 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -35,12 +35,16 @@ jobs:
- name: Expose GitHub Runtime for cache
uses: crazy-max/ghaction-github-runtime@v3
- - name: Load secrets from 1Password
+ - name: Configure 1Password Service Account
+ uses: 1password/load-secrets-action/configure@v2
+ with:
+ service-account-token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
+
+ - name: Load SSH deploy key from 1Password
uses: 1password/load-secrets-action@v2
with:
export-env: true
env:
- OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
DEPLOY_SSH_KEY: "op://BeBePe DevOps/GHA SSH Key/id_ed25519"
- name: Set up SSH
diff --git a/app/views/index/show.html.erb b/app/views/index/show.html.erb
index 18e6c2c..293f176 100644
--- a/app/views/index/show.html.erb
+++ b/app/views/index/show.html.erb
@@ -7,7 +7,7 @@
and grow your career with ease!
- Coming soon. Stay tuned!..
+ Coming soon. Stay tuned...