xuanxu / deposit-with-crossref-action

This action performs a deposit call for the paper with Crossref

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Journals :: Deposit with Crossref

This action deposit an accepted paper with Crossref

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.

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 }}
```

About

This action performs a deposit call for the paper with Crossref

License:MIT License


Languages

Language:Ruby 100.0%