Skip to content

Commit

Permalink
Midnight blues
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakim-Kay committed Jun 13, 2024
1 parent 598de83 commit 0b04492
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ jobs:

- name: Install 1Password CLI
run: |
curl -sS https://downloads.1password.com/linux/cli/2.0.0/op_linux_amd64_v2.0.0.zip -o op.zip
curl -sS https://downloads.1password.com/linux/cli/2.15.3/op_linux_amd64_v2.15.3.zip -o op.zip
apt-get install -y unzip
unzip op.zip -d op-cli
sudo mv op-cli/op /usr/local/bin/
sudo chmod +x /usr/local/bin/op
- name: Sign in to 1Password
env:
Expand All @@ -53,14 +55,6 @@ jobs:
run: |
until pg_isready -h $DB_HOST -p $DB_PORT -U $DATABASE_USERNAME; do echo waiting for postgres; sleep 2; done
- name: Authenticate with 1Password
env:
OP_CONNECT_HOST: ${{ secrets.OP_CONNECT_HOST }}
OP_CONNECT_TOKEN: ${{ secrets.OP_CONNECT_TOKEN }}
run: |
eval $(op account add --address https://team-deloittedigital.1password.com --email $OP_EMAIL --secret-key $OP_SECRET_KEY --signin)
eval $(op signin my)
- name: Build with Maven
env:
DB_HOST: ${{ env.DB_HOST }}
Expand Down

0 comments on commit 0b04492

Please sign in to comment.