Skip to content

OctoMind-dev/vercel-actions-example

Repository files navigation

Vercel Actions Example for octomind-integration

This project is supposed to showcase the way to integrate octomind into a vercel-deployed app.

This is a Next.js project bootstrapped with create-next-app. Deployment happens on Vercel with the native vercel-github integration.

The octomind tests use the octomind execute action and the octomind github app to enable running tests on each preview branch. See the .github/workflows/octomind.yml file for the actions integration or just copy it:

on:
deployment_status
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
octomind:
if: ${{ github.event.deployment_status.state == 'success' }}
name: 🚀🐙 trigger octomind e2e tests 🚀🐙
runs-on: ubuntu-latest
steps:
- uses: OctoMind-dev/automagically-action-execute@v2
with:
testTargetId: c0f2336b-5afb-488b-879d-fd3a3b11bd3c
url: ${{ github.event.deployment_status.target_url }}
token: ${{ secrets.AUTOMAGICALLY_TOKEN }}

See 🚀🐙 trigger octomind e2e tests 🚀🐙 for a successful actions run after a vercel deployment.

Follow the setup workflow as described in our docs to get the required data.

About

Example repo to showcase integrating octomind with a vercel-deployed application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •