Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xuanxu/deposit-with-crossref-action
This action performs a deposit call for the paper with Crossref
https://github.com/xuanxu/deposit-with-crossref-action
Last synced: 25 days ago
JSON representation
This action performs a deposit call for the paper with Crossref
- Host: GitHub
- URL: https://github.com/xuanxu/deposit-with-crossref-action
- Owner: xuanxu
- License: mit
- Created: 2021-09-10T08:48:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T09:48:43.000Z (5 months ago)
- Last Synced: 2024-12-10T01:41:58.312Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open Journals :: Deposit with Crossref
This action deposit an accepted paper with [Crossref](https://www.crossref.org/)
## Usage
Usually this action is used as a step in a workflow after the paper's pdf and xml files are already accepted into the papers repository.
### Inputs
The action requires the following inputs:
- **crossref_filepath**: Required. The complete filepath of the Crossref XML file
- **crossref_username**: Required. Crossref username doing the deposit
- **crossref_password**: Required. Crossref password### Example
Use it adding it as a step in a workflow `.yml` file in your repo's `.github/workflows/` directory and passing your custom input values.
````yaml
on:
workflow_dispatch:
...
jobs:
processing:
runs-on: ubuntu-latest
steps:
- name: Deposit with Crossref
uses: xuanxu/deposit-with-crossref-action@main
with:
crossref_filepath: ./paper.crossref.xml
crossref_username: ${{ secrets.CROSSREF_USER }}
crossref_password: ${{ secrets.CROSSREF_PASS }}
```