Skip to content

Commit

Permalink
Secret for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cycle-five committed May 30, 2024
1 parent 78c121f commit 793b8df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ image: debian/bookworm
secrets:
- 5ec53080-dbed-4207-ab0f-d6056a62bb46
- dbe97eb1-5978-43b3-83f2-8f1e6b815fcb
- d9aab5c9-6631-4095-8a7a-73e2401ac04c
tasks:
- install-dependencies: |
export POSTGRES_PASSWORD=$(cat ~/PG_PASSWORD)
Expand Down Expand Up @@ -63,6 +64,7 @@ tasks:
- test: |
. "$HOME/.cargo/env"
export POSTGRES_PASSWORD=$(cat ~/PG_PASSWORD)
export OPENAI_API_KEY=$(cat ~/OPENAI_API_KEY)
export DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@localhost:5432/postgres
export VIRUSTOTAL_API_KEY=$(cat ~/VIRUSTOTAL_API_KEY)
export SQLX_OFFLINE=true
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crack-gpt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "crack-gpt"
version = "0.1.2"
version = "0.2.0"
edition = "2021"
authors = ["Cycle Five <cycle.five@proton.me>"]
publish = true
Expand Down

0 comments on commit 793b8df

Please sign in to comment.