A GitHub Action to automatically upload your resume to Naukri.com, keeping your profile fresh and active—no manual intervention needed! 🚀
- 🔄 Scheduled uploads: Keep your profile active automatically
- 🔐 Secure credential handling: Uses GitHub Secrets
- 📂 Multiple resume support: Support for multiple resume files
- 🖱️ Manual trigger: Instantly update your profile
This action requires a self-hosted runner in a region where Naukri.com is accessible. For example, you can use an AWS EC2 instance in the Mumbai region. GitHub-hosted runners (typically in US/EU) may not work due to Naukri API restrictions.
name: Update Naukri Resume
on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight
workflow_dispatch: # Manual trigger
jobs:
upload-resume:
runs-on: self-hosted # should use self-hosted runner
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Upload resume to Naukri
uses: Prateek-Wayne/[email protected]
with:
username: ${{ secrets.NAUKRI_USERNAME }}
password: ${{ secrets.NAUKRI_PASSWORD }}
profile_id: ${{ secrets.NAUKRI_PROFILE_ID }}
resume_path: |-
./resumes/resume1.pdf
./resumes/resume2.pdf
./resumes/resume3.pdfSee a full example: Example Workflow Repository
| Input | Description | Required |
|---|---|---|
username |
Naukri.com login email | Yes |
password |
Naukri.com password | Yes |
profile_id |
Naukri profile ID | Yes |
resume_path |
Path(s) to resume file(s), one per line | Yes |
Your Naukri profile ID is essential for this action to work correctly. Here's how to find it:
📹 Video Guide:
Guid.to.Get.Profile.ID.mov
Never hardcode credentials. Use GitHub Secrets:
- Go to your repository settings
- Navigate to Secrets and variables > Actions
- Add:
NAUKRI_USERNAMENAUKRI_PASSWORDNAUKRI_PROFILE_ID
Test locally with act:
act -j upload-resume -s NAUKRI_USERNAME=your-email -s NAUKRI_PASSWORD=your-password -s NAUKRI_PROFILE_ID=your-profile-id- Copy
.env.exampleto.envand fill in your credentials:cp .env.example .env # Edit .env with your credentials - Install dependencies and run:
yarn install yarn local-action
Contributions welcome!
- Fork the repo
- Create a feature branch (
git checkout -b feature/amazing-feature) - Set up your environment (see Local Testing)
- Make and commit your changes
- Push and open a Pull Request
If you find this action useful, please star the repo! It helps others discover the project and motivates further development.
MIT