Skip to content

Commit

Permalink
add new actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobytes committed Jun 8, 2024
1 parent 952f61d commit c7ae02a
Show file tree
Hide file tree
Showing 4 changed files with 8,413 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/website-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,18 @@ jobs:
- name: Build
working-directory: ./apps/website
run: npm run build
- name: Deploy Page
- name: Deploy SSR
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: ./apps/website
command: pages deploy ./dist/store/cloudflare --project-name=nicobytes-store-website

- name: Deploy SPA
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: ./apps/website
command: pages deploy ./dist/store/browser --project-name=nicobytes-store-website-spa
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"peacock.remoteColor": "#15acf7",
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#46bdf9",
"activityBar.background": "#46bdf9",
Expand All @@ -18,5 +19,5 @@
"titleBar.inactiveBackground": "#15acf799",
"titleBar.inactiveForeground": "#15202b99"
},
"peacock.remoteColor": "#15acf7"
"peacock.color": "#15acf7"
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@

npx wrangler d1 create nicobytes_store
npx wrangler pages project create nicobytes-store-admin
npx wrangler pages project create nicobytes-store-website-spa
Loading

0 comments on commit c7ae02a

Please sign in to comment.