diff --git a/.github/workflows/examples-publish.yml b/.github/workflows/examples-publish.yml index 349d0c1d54008..5a628adb1fcec 100644 --- a/.github/workflows/examples-publish.yml +++ b/.github/workflows/examples-publish.yml @@ -405,30 +405,6 @@ jobs: CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_REACT_DASHBOARD }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - react-data-table: - runs-on: ubuntu-20.04 - timeout-minutes: 30 - - steps: - - uses: actions/checkout@v3 - - - uses: pheel/path-watcher-action@v1 - id: modified - with: - paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/react-data-table/*,examples/react-data-table/**' - - - if: steps.modified.outputs.modified - uses: actions/setup-node@v3 - with: - node-version: 14.x - - - if: steps.modified.outputs.modified - run: .github/actions/deploy-example.sh - env: - EXAMPLE_SLUG: react-data-table - CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_REACT_DATA_TABLE }} - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - react-muze: runs-on: ubuntu-20.04 timeout-minutes: 30 diff --git a/examples/react-data-table/dashboard-app/.netlify/state.json b/examples/react-data-table/dashboard-app/.netlify/state.json deleted file mode 100644 index 4ebc2db37f156..0000000000000 --- a/examples/react-data-table/dashboard-app/.netlify/state.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "siteId": "56862cea-a730-4bb7-9684-56dd1c08442e" -} \ No newline at end of file diff --git a/examples/react-data-table/dashboard-app/vercel.json b/examples/react-data-table/dashboard-app/vercel.json new file mode 100644 index 0000000000000..b1ab125791afb --- /dev/null +++ b/examples/react-data-table/dashboard-app/vercel.json @@ -0,0 +1,17 @@ +{ + "headers": [ + { + "source": "/(.*)", + "headers": [ + { + "key": "Strict-Transport-Security", + "value": "max-age=31536000; includeSubDomains;" + }, + { + "key": "Content-Security-Policy", + "value": "connect-src https://identity.cube.dev track.cube.dev graphql.contentful.com https://amber-chameleon.gcp-us-central1.cubecloudapp.dev; font-src 'self' fonts.gstatic.com cdn.jsdelivr.net static.cube.dev data:; style-src 'self' fonts.googleapis.com cdn.jsdelivr.net 'unsafe-inline'; script-src 'self' https://www.datadoghq-browser-agent.com/datadog-logs-v4.js 'sha256-ewaaYbRj0txAYUQlEgkpq5btZDl2R7GUJeRustypP9M=' 'sha256-NNRNlUvekpg7yDPcWeHFgr2SbeZBup4y3/n9L6w472A='; img-src 'self' static.cube.dev data:; object-src 'none'" + } + ] + } + ] +}