Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xuanxu/deposit-with-openjournals-action
This action performs a deposit call for the paper with Open Journals
https://github.com/xuanxu/deposit-with-openjournals-action
Last synced: 25 days ago
JSON representation
This action performs a deposit call for the paper with Open Journals
- Host: GitHub
- URL: https://github.com/xuanxu/deposit-with-openjournals-action
- Owner: xuanxu
- License: mit
- Created: 2021-10-13T10:27:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T09:49:20.000Z (5 months ago)
- Last Synced: 2024-12-10T01:41:58.262Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open Journals :: Deposit with Open Journals
This action deposit an accepted paper with Open Journals
## 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 accepts the following inputs:
- **journal_alias**: Required. The alias of the Open Journal to deposit with
- **journal_secret**: Required. The access token to be used to post the paper payload
- **issue_id**: Required. The issue number of the submission in the reviews repository
- **paper_path**: Required. The complete filepath of the paper.md file### Outputs
- **paper_doi**: The DOI for the accepted paper
### 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:
inputs:
issue_id:
description: 'The issue number of the submission'
jobs:
processing:
runs-on: ubuntu-latest
steps:
- name: Deposit with Open Journals
uses: xuanxu/deposit-with-openjournals-action@main
with:
journal_url: https://joss.theoj.org/
journal_secret: ${{ secrets.JOURNAL_SECRET }}
issue_id: ${{ github.event.inputs.issue_id }}
paper_path: ./docs/paper.md
```