Skip to content

Commit

Permalink
Revert "Revert "Add deco-deploy github action (#47)" (#48)"
Browse files Browse the repository at this point in the history
This reverts commit b4c4c64.
  • Loading branch information
mcandeia authored Oct 23, 2023
1 parent b4c4c64 commit d55ace1
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/deco-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy
on:
push:
branches: [main]
pull_request:
branches: main

jobs:
deploy:
strategy:
matrix:
site:
[
"storefront",
"storefront-vnda",
"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 }}
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$store/": "./",
"deco/": "https://denopkg.com/deco-cx/deco@1.43.0/",
"apps/": "https://denopkg.com/deco-cx/apps@0.17.0/",
"$fresh/": "https://denopkg.com/deco-cx/fresh@1.4.4/",
"$fresh/": "https://deno.land/x/fresh@1.5.2/",
"preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1",
Expand Down

0 comments on commit d55ace1

Please sign in to comment.