Skip to content

Commit

Permalink
DAPP1-17: updated ci
Browse files Browse the repository at this point in the history
  • Loading branch information
charunb committed Sep 13, 2024
1 parent 0d33ea7 commit 29f7576
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,19 @@ jobs:
run: npm install

- name: Run Test
run: npm run test
run: npm run test
- name: Deploy to CodeSandbox
env:
CODESANDBOX_API_TOKEN: ${{ secrets.CODESANDBOX_API_TOKEN }}
run: |
# Install CodeSandbox CLI if not already installed
npm install -g codesandbox
# Log in to CodeSandbox
codesandbox login --token $CODESANDBOX_API_TOKEN
# Create or update sandbox (replace with appropriate command or API call)
codesandbox create --name "Fortuna" --directory .
# Optional: Publish or serve the sandbox (replace with appropriate command or API call)
codesandbox publish --sandbox "Fortuna" --port 3000

0 comments on commit 29f7576

Please sign in to comment.