ORCID Publications Integration - Setup Guide
ORCID Publications Integration - Setup Guide
This guide explains how to set up automatic publication syncing from your ORCID profile to your GitHub Pages site.
π Security Notice
IMPORTANT: Your ORCID credentials are stored as GitHub Secrets and are NEVER committed to the repository. The workflow uses environment variables to securely access these credentials.
π Prerequisites
You already have:
- β ORCID API credentials (Client ID and Client Secret)
- β ORCID account with publications
π Setup Instructions
Step 1: Add GitHub Secrets
Go to your GitHub repository: https://github.com/sorujov/sorujov.github.io
Click Settings (top menu)
In the left sidebar, click Secrets and variables β Actions
Click New repository secret button
Add THREE secrets with these exact names:
Secret 1:
- Name:
ORCID_ID - Value: Your ORCID ID (e.g.,
0009-0004-9708-2109)
Secret 2:
- Name:
ORCID_CLIENT_ID - Value:
APP-47UE3N9TJQ6WG0R2
Secret 3:
- Name:
ORCID_CLIENT_SECRET - Value:
8ac081a7-ddab-43d7-8916-d458e6180b80
- Name:
Step 2: Enable GitHub Actions
Go to the Actions tab in your repository
If prompted, click Enable workflows
You should see the workflow: βUpdate ORCID Publicationsβ
Step 3: Run the Workflow Manually (First Time)
In the Actions tab, click on βUpdate ORCID Publicationsβ
Click Run workflow button (top right)
Select
masterbranchClick Run workflow
Wait for the workflow to complete (usually 30-60 seconds)
Check the workflow results to see how many publications were imported
Step 4: Verify the Import
Go to your repository and check the
_publications/folderYou should see new markdown files for each publication from your ORCID profile
Visit your website: https://sorujov.net/publications/
Publications should be displayed in two categories:
- Published Works (journal articles, conference papers, books)
- Working Papers (working papers, preprints, reports)
π Automatic Updates
The workflow will automatically run:
- Every Monday at midnight UTC (weekly sync)
- Manually when you trigger it from the Actions tab
- Automatically when you push changes to the workflow file
π Customizing Publications
After the initial import, you can edit the generated markdown files in _publications/ to:
- Add detailed abstracts
- Include additional information
- Add custom formatting
- Link to supplementary materials
Note: Manual edits will be preserved during future ORCID syncs as long as you donβt change the filename.
π·οΈ Publication Categories
Publications are automatically categorized based on their type in ORCID:
| ORCID Type | Category | Display Section |
|---|---|---|
journal-article | manuscripts | Published Works |
conference-paper | manuscripts | Published Works |
book-chapter | manuscripts | Published Works |
book | manuscripts | Published Works |
working-paper | working-papers | Working Papers |
preprint | working-papers | Working Papers |
report | working-papers | Working Papers |
π οΈ Troubleshooting
Workflow Fails with βORCID_ID not setβ
- Verify that you added all three secrets with the exact names shown above
- Secrets are case-sensitive
No Publications Appear
- Check your ORCID profile to ensure publications are listed
- Verify your ORCID ID is correct in the secret
- Check the workflow logs in the Actions tab for error messages
Authentication Errors
- Verify your Client ID and Client Secret are correct
- Ensure there are no extra spaces in the secret values
- Try regenerating your ORCID API credentials
Publications Not Updating
- The workflow runs weekly by default
- Manually trigger it from the Actions tab to force an update
- Check if there are new publications in your ORCID profile
π File Structure
sorujov.github.io/
βββ .github/
β βββ workflows/
β βββ update-orcid-publications.yml # GitHub Actions workflow
βββ scripts/
β βββ fetch_orcid_publications.py # Python script to fetch from ORCID
βββ _publications/ # Generated markdown files
β βββ YYYY-MM-DD-publication-title.md
βββ _pages/
βββ publications.html # Publications page layout
π Resources
- ORCID API Documentation: https://info.orcid.org/documentation/api-tutorials/
- Your ORCID Profile: https://orcid.org/0009-0004-9708-2109
- GitHub Actions Logs: https://github.com/sorujov/sorujov.github.io/actions
π§ Support
If you encounter any issues, check the GitHub Actions logs for detailed error messages. The workflow provides comprehensive error reporting and summaries.
Last Updated: December 2025 Version: 1.0
