Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

javidalpe/cognition-deploy-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
Open more actions menu

Repository files navigation

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/cognition-deploy-action@v1.2.0
        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

About

Automatically deploy your JsPsych experiment to Cognition using GitHub Actions.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.