Skip to content

Commit

Permalink
variable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
root27 committed Mar 27, 2024
1 parent bff74a5 commit 90d2983
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 "$SECRET_KEY" > secret && chmod 600 secret && cat secret
run: echo "$SERVER_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 "$SECRET_KEY" > secret && chmod 600 secret && cat secret`,
Run: `echo "$SERVER_KEY" > secret && chmod 600 secret && cat secret`,
},
}

Expand Down

0 comments on commit 90d2983

Please sign in to comment.