Skip to content

Commit

Permalink
Hosting: server-sider-rendering of resources and blogs
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sumi-k committed Feb 7, 2024
1 parent f066005 commit 082341e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/deploy-frontend-dev.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: DeployFrontendDev

on:
workflow_run:
workflows: ["DeployBackendDev"]
types:
- completed
branches:
- "master"
on: push

jobs:
deploy-frontend-dev:
Expand Down Expand Up @@ -38,4 +32,4 @@ jobs:
yarn install --frozen-lockfile && yarn generate
aws s3 sync ./.output/public s3://dev-stack.canopas.com --exclude "*.js"
aws s3 sync ./.output/public s3://dev-stack.canopas.com --include "*.js" --content-type "application/javascript"
aws cloudfront create-invalidation --distribution-id ${{ secrets.DEV_CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*"
aws cloudfront create-invalidation --distribution-id ${{ secrets.DEV_CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*"
1 change: 1 addition & 0 deletions nuxt-frontend/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default defineNuxtConfig({
nitro: {
prerender: {
failOnError: false,
ignore: ["/blog", "/resources", "/tag"],
},
},
});

0 comments on commit 082341e

Please sign in to comment.