From d0723cd3e7484bc0c8c46c3118c97cce559332ad Mon Sep 17 00:00:00 2001 From: anasophiarc <139798310+anasophiarc@users.noreply.github.com> Date: Thu, 23 May 2024 15:05:50 -0400 Subject: [PATCH] Create cognition-github-actions.yml 'Committing the workflow file to a branch in your repository triggers the push event and runs your workflow. THe workflow deploys the experiment to Cognition'. --- .github/workflows/cognition-github-actions.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/cognition-github-actions.yml diff --git a/.github/workflows/cognition-github-actions.yml b/.github/workflows/cognition-github-actions.yml new file mode 100644 index 0000000..cd5e7c2 --- /dev/null +++ b/.github/workflows/cognition-github-actions.yml @@ -0,0 +1,13 @@ +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.1.2 + id: deploy + with: + personal-access-token: ${{secrets.PERSONAL_ACCESS_TOKEN}} + - run: echo "The public link to the task is ${{ steps.deploy.outputs.link }}"