File tree Expand file tree Collapse file tree 5 files changed +7
-13
lines changed
resume-generator/app/api/generate Expand file tree Collapse file tree 5 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 25
25
run : yarn
26
26
27
27
- name : Generate readme
28
- env :
29
- HYGRAPH_URL : ${{ env.HYGRAPH_URL }}
30
- run : yarn workspace @teimurjan/profile-readme generate-readme
28
+ run : env HYGRAPH_URL=${{ env.HYGRAPH_URL }} yarn workspace @teimurjan/profile-readme generate-readme
31
29
32
30
- name : Clone teimurjan repo
33
31
run : |
Original file line number Diff line number Diff line change @@ -30,19 +30,13 @@ jobs:
30
30
run : yarn
31
31
32
32
- name : Generate opengraph
33
- env :
34
- NEXT_PUBLIC_HYGRAPH_URL : ${{ env.HYGRAPH_URL }}
35
- run : yarn workspace @teimurjan/website generate-opengraph:ci
33
+ run : env NEXT_PUBLIC_HYGRAPH_URL=${{ env.HYGRAPH_URL }} yarn workspace @teimurjan/website generate-opengraph:ci
36
34
37
35
- name : Generate resume
38
- env :
39
- NEXT_PUBLIC_HYGRAPH_URL : ${{ env.HYGRAPH_URL }}
40
- run : yarn workspace @teimurjan/website generate-resume
36
+ run : env NEXT_PUBLIC_HYGRAPH_URL=${{ env.HYGRAPH_URL }} yarn workspace @teimurjan/website generate-resume
41
37
42
38
- name : Build
43
- env :
44
- NEXT_PUBLIC_HYGRAPH_URL : ${{ env.HYGRAPH_URL }}
45
- run : yarn workspace @teimurjan/website build
39
+ run : env NEXT_PUBLIC_HYGRAPH_URL=${{ env.HYGRAPH_URL }} yarn workspace @teimurjan/website build
46
40
47
41
- name : Deploy
48
42
uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change
1
+ HYGRAPH_URL =
Original file line number Diff line number Diff line change
1
+ README.md
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export async function POST(request: NextRequest) {
24
24
Given the following job description: "${ parsed . data . jobDescription } "
25
25
and the following JSON data for my resume: ${ JSON . stringify ( parsed . data . resume ) } ,
26
26
update the experience descriptions, skills & bios in the JSON data to match the job description without structure change.
27
- Also create a concise, unique and unusual cover letter written in simple words using a bit of emojis.
27
+ Also create a concise, unusual cover letter with a touching hook in the beginning written in simple words using a bit of emojis.
28
28
Do not include anything except JSON object with keys "resume" and "coverletter" in the response.
29
29
`
30
30
const completion = await client . chat . completions . create ( {
You can’t perform that action at this time.
0 commit comments