Skip to content

Commit

Permalink
Added resume python
Browse files Browse the repository at this point in the history
  • Loading branch information
afzalex committed Jun 16, 2023
1 parent 4279f57 commit 1e86f47
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 12 deletions.
37 changes: 27 additions & 10 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,27 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Dropbox resume.docx upload
- name: Dropbox resume docx upload
env:
RESUME_DOCX_LOC: "docs/assets/resume.docx"
RESUME_DOCX_LOC: "docs/assets"
run: |
sudo apt-get install jq
echo "Uploading resume.docx to dropbox"
curl -X POST https://content.dropboxapi.com/2/files/upload \
--header "Authorization: Bearer ${DROPBOX_ACCESS_TOKEN}" \
--header "Dropbox-API-Arg: {\"path\": \"/alpha/resume.docx\",\"mode\": \"overwrite\",\"autorename\": false,\"mute\": false,\"strict_conflict\": false}" \
--header "Content-Type: application/octet-stream" \
--data-binary "@${RESUME_DOCX_LOC}"
--data-binary "@${RESUME_DOCX_LOC}/resume.docx" | jq
echo "Uploading resume-python.docx to dropbox"
curl -X POST https://content.dropboxapi.com/2/files/upload \
--header "Authorization: Bearer ${DROPBOX_ACCESS_TOKEN}" \
--header "Dropbox-API-Arg: {\"path\": \"/alpha/resume-python.docx\",\"mode\": \"overwrite\",\"autorename\": false,\"mute\": false,\"strict_conflict\": false}" \
--header "Content-Type: application/octet-stream" \
--data-binary "@${RESUME_DOCX_LOC}/resume-python.docx" | jq
- name: Create resume.pdf and upload to fzbot branch
- name: Create resume pdf and upload to fzbot branch
env:
RESUME_DOCX_LOC: "docs/assets/resume.docx"
RESUME_DOCX_LOC: "docs/assets"
run: |
sudo apt-get install unoconv --fix-missing -y
echo "Dependencies installed"
Expand All @@ -66,25 +74,34 @@ jobs:
git checkout -b fzbot
git reset --hard master
doc2pdf "${RESUME_DOCX_LOC}"
doc2pdf "${RESUME_DOCX_LOC}/resume.docx"
doc2pdf "${RESUME_DOCX_LOC}/resume-python.docx"
git add *
git commit -m "Added testfile.txt"
git commit -m "Added pdf versions of resumes"
git fetch
git branch --set-upstream-to=origin/fzbot fzbot
git push -f
- name: Dropbox resume.pdf upload
- name: Dropbox resume pdf upload
env:
RESUME_PDF_LOC: "docs/assets/resume.pdf"
RESUME_PDF_LOC: "docs/assets"
run: |
sudo apt-get install jq
git fetch
git checkout fzbot
echo "Uploading resume.pdf to dropbox"
curl -X POST https://content.dropboxapi.com/2/files/upload \
--header "Authorization: Bearer ${DROPBOX_ACCESS_TOKEN}" \
--header "Dropbox-API-Arg: {\"path\": \"/alpha/resume.pdf\",\"mode\": \"overwrite\",\"autorename\": false,\"mute\": false,\"strict_conflict\": false}" \
--header "Content-Type: application/octet-stream" \
--data-binary "@${RESUME_PDF_LOC}"
--data-binary "@${RESUME_PDF_LOC}/resume.pdf" | jq
echo "Uploading resume.pdf to dropbox"
curl -X POST https://content.dropboxapi.com/2/files/upload \
--header "Authorization: Bearer ${DROPBOX_ACCESS_TOKEN}" \
--header "Dropbox-API-Arg: {\"path\": \"/alpha/resume-python.pdf\",\"mode\": \"overwrite\",\"autorename\": false,\"mute\": false,\"strict_conflict\": false}" \
--header "Content-Type: application/octet-stream" \
--data-binary "@${RESUME_PDF_LOC}/resume-python.pdf" | jq
replicate-to-afzalex:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ I have worked on other projects also during this period. I developed theme websi
#### Other Sites
- [Technotes](https://technotes.afzalex.com)
- [Contact](https://www.afzalex.com/contact)
- [Shortcuts Practice](https://www.afzalex.com/shortcut-pracctice)
- [Shortcuts Practice](https://www.afzalex.com/shortcut-practice)
Binary file added docs/assets/resume-python.docx
Binary file not shown.
Binary file added docs/assets/resume-v3.docx
Binary file not shown.
Binary file modified docs/assets/resume.docx
Binary file not shown.
8 changes: 7 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,17 @@ <h3>Educational Details</h3>
Aggregates
</th>
</tr>
<tr>
<td> <b>2022 - 2023</b> </td>
<td> MS in Data Science </td>
<td> Liverpool John Moores University </td>
<td> Results Awaited </td>
</tr>
<tr>
<td> <b>2021 - 2022</b> </td>
<td> Post Graduate Diploma in Data Science </td>
<td> International Institute of Information Technology, Bangalore (IIITB) </td>
<td> - not released - </td>
<td> 3.24/4 CGPA </td>
</tr>
<tr>
<td> <b>2011 - 2015</b> </td>
Expand Down

0 comments on commit 1e86f47

Please sign in to comment.