Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
gilhanan committed Oct 29, 2023
1 parent 8a85747 commit 34f05b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ env:
AZURE_RESOURCE_GROUP: "gh-personal-portfolio"
AZURE_STORAGE_ACCOUNT: "ghpersonalportfolio"
LOCATION: "West Europe"
RECAPTCHA_SITE_KEY: ${{ secrets.RECAPTCHA_SITE_KEY }}
RECAPTCHA_SECRET_KEY: ${{ secrets.RECAPTCHA_SECRET_KEY }}
SMTP_USER: ${{ secrets.SMTP_USER }}
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
SMTP_RECEIVER: ${{ secrets.SMTP_RECEIVER }}

jobs:
setup-azure-resource:
Expand Down Expand Up @@ -144,12 +149,6 @@ jobs:
name: E2E Tests
needs: [setup-azure-resource, build]
runs-on: ubuntu-latest
env:
RECAPTCHA_SITE_KEY: ${{ secrets.RECAPTCHA_SITE_KEY }}}
RECAPTCHA_SECRET_KEY: ${{ secrets.RECAPTCHA_SECRET_KEY }}
SMTP_USER: ${{ secrets.SMTP_USER }}
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
SMTP_RECEIVER: ${{ secrets.SMTP_RECEIVER }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion src/app/contact/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { ContactForm } from "@contact/components/ContactForm";

export default function ContactPage() {
return (
<ContactForm reCaptchaSiteKey={process.env.RECAPTCHA_SITE_KEY || ""} />
<ContactForm reCaptchaSiteKey={process.env.RECAPTCHA_SITE_KEY as string} />
);
}

0 comments on commit 34f05b5

Please sign in to comment.