Skip to content

Commit

Permalink
fix: deploy sample apps whenever there are changes within the SDKs (#…
Browse files Browse the repository at this point in the history
…1071)

Reverts #989 

Sample Apps need to get new production deployments whenever the SDKs get
an update. That's how we ensure they run well with the latest SDK
version.
  • Loading branch information
oliverlaz authored Sep 11, 2023
1 parent e7e4bb4 commit fa46372
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy-react-sample-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ jobs:
with:
fetch-depth: 0

- uses: dorny/[email protected]
id: changes
with:
filters: |
sample-apps:
- 'sample-apps/react/${{ matrix.application.folder || matrix.application.name }}/**/*'
# - uses: dorny/[email protected]
# id: changes
# with:
# filters: |
# sample-apps:
# - 'sample-apps/react/${{ matrix.application.folder || matrix.application.name }}/**/*'

- name: Setup Node
uses: actions/setup-node@v3
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
### Vercel deployment (Production) ###
- name: Vercel Pull/Build/Deploy (Production)
if: ${{ github.ref_name == 'main' && steps.changes.outputs.sample-apps == 'true' }}
if: ${{ github.ref_name == 'main' }}
run: >
yarn vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} &&
yarn vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} &&
Expand Down

0 comments on commit fa46372

Please sign in to comment.