Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
alstn113 committed Dec 9, 2024
1 parent 7f96e4a commit 782e145
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/server_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Create .env file
env:
SECRET_CONTEXT: ${{ toJson(secrets) }}
run: |
echo "${{ secrets }}" | tr -d '{}' | tr ',' '\n' | sed -n 's/"\(.*\)":\(.*\)/\1=\2/p' > .env
echo "$SECRET_CONTEXT" | tr -d '{}' | tr ',' '\n' | sed -n 's/"\(.*\)":\(.*\)/\1=\2/p' > .env
- name: View
run: cat .env
Expand Down
2 changes: 1 addition & 1 deletion server/src/main/java/com/fluffy/DataInitializer.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private void init() {
Member member2 = memberRepository.save(new Member(
"[email protected]",
OAuth2Provider.GITHUB,
222222L,
222221L,
"Bob",
"https://cdn-icons-png.flaticon.com/128/4472/4472525.png"
));
Expand Down

0 comments on commit 782e145

Please sign in to comment.