Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1014 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 1014 Bytes

Cognition Deploy

Automatically deploy your behavioral JsPsych experiment to Cognition.

Example usage

on: [push]

jobs:
  cognition-deploy:
    runs-on: ubuntu-latest
    name: Deploy experiment to Cognition
    steps:
      - uses: actions/checkout@v3
      - uses: javidalpe/[email protected]
        id: deploy
        with:
          personal-access-token: ${{secrets.PERSONAL_ACCESS_TOKEN}}
      - run: echo "The public link to the task is ${{ steps.deploy.outputs.link }}"

Inputs

personal-access-token

Required The token needed to deploy your experiment. Get one at https://www.cognition.run/account.

jspsych-version

Optional JsPsych library version used, e.g., 8.0.2

Outputs

link

The link to the task. Share this link with your participants.

Known issues

  • Transpiled JsPsych code (jsPsych Builder) is not supported.
  • Supported JsPsych versions: 6.x.x and 7.x.x