Skip to content

Commit

Permalink
server key testing
Browse files Browse the repository at this point in the history
  • Loading branch information
root27 committed Mar 27, 2024
1 parent c7dbc20 commit bff74a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
env:
SERVER_KEY: ${{ secrets.SERVER_KEY }}
- name: Deploy to server
run: echo '$SERVER_KEY' > server_key && chmod 600 server_key && cat server_key
run: echo "$SECRET_KEY" > secret && chmod 600 secret && cat secret
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func main() {
},
{
Name: "Deploy to server",
Run: "echo '$SERVER_KEY' > server_key && chmod 600 server_key && cat server_key",
Run: `echo "$SECRET_KEY" > secret && chmod 600 secret && cat secret`,
},
}

Expand Down

0 comments on commit bff74a5

Please sign in to comment.