diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b3109c5a..cd92a968 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -46,10 +46,10 @@ jobs: run: pnpm install - name: Build site - run: pnpm build + run: pnpm build --filter web - name: Cache build artifacts - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "**/dist" key: build-artifacts-${{ github.sha }} @@ -67,7 +67,7 @@ jobs: uses: actions/checkout@v3 - name: Restore build artifacts - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "**/dist" key: build-artifacts-${{ github.sha }} @@ -78,7 +78,7 @@ jobs: host: ${{ secrets.FTP_HOST }} user: ${{ secrets.FTP_USERNAME }} password: ${{ secrets.FTP_PASSWORD }} - localDir: dist + localDir: apps/web/dist remoteDir: ${{ secrets.FTP_REMOTE_DIR }} options: "--delete -X cgi-bin/ -X .well-known/" @@ -95,7 +95,7 @@ jobs: uses: actions/checkout@v3 - name: Restore build artifacts - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "**/dist" key: build-artifacts-${{ github.sha }} @@ -104,7 +104,7 @@ jobs: uses: Etherna/swarm-upload-action@2.0.0 with: gateway: https://gateway.etherna.io - localRoot: dist + localRoot: apps/web/dist defaultPath: index.html ethernaApiKey: ${{ secrets.ETHERNA_API_KEY }} batchId: ${{ secrets.BATCH_ID }} diff --git a/apps/web/src/components/blog/blog-post-header.tsx b/apps/web/src/components/blog/blog-post-header.tsx index cab07762..ba543e1c 100644 --- a/apps/web/src/components/blog/blog-post-header.tsx +++ b/apps/web/src/components/blog/blog-post-header.tsx @@ -48,7 +48,7 @@ export function BlogPostHeader({ {image && (