diff --git a/.github/workflows/deco-deploy.yaml b/.github/workflows/deco-deploy.yaml new file mode 100644 index 00000000..d3319b27 --- /dev/null +++ b/.github/workflows/deco-deploy.yaml @@ -0,0 +1,34 @@ +name: Deploy +on: + push: + branches: [main] + pull_request: + branches: main + +jobs: + deploy: + strategy: + matrix: + site: + [ + "storefront", + "storefront-vtex", + "storefront-linx", + "store-shopify", + "storefront-wake", + ] + name: Deploy + runs-on: ubuntu-latest + + permissions: + id-token: write # Needed for auth with Deno Deploy + contents: read # Needed to clone the repository + + steps: + - name: Clone repository + uses: actions/checkout@v3 + + - name: Deco Deploy + uses: deco-cx/deploy@v0 + with: + site: ${{ matrix.site }}