Skip to content

Commit

Permalink
cr based on deploy urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad committed Mar 25, 2024
1 parent fd9de40 commit 58a3fb3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/cr.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,21 @@ jobs:
DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment-url }}
run: echo $DEPLOYMENT_URL

cr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm build
env:
API_URL: ${{ steps.deploy.outputs.deployment-url }}
- name: Stackblitz CR
run: pnpm sb publish
working-directory: ./playground
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 58a3fb3

Please sign in to comment.