Skip to content

Commit

Permalink
fix dockerfile to only copy and not override
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanmehrotra committed Oct 1, 2024
1 parent afe1cee commit 7119742
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/website_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- main
- development
- fix-docs-docker

env:
APP_NAME: gofr-website
Expand Down Expand Up @@ -45,7 +46,7 @@ jobs:
file: ./docs/Dockerfile

dockerize:
if: ${{ startsWith(github.ref, 'refs/tags/v')}}
# if: ${{ startsWith(github.ref, 'refs/tags/v')}}
runs-on: ubuntu-latest
outputs:
image: ${{ steps.output-image.outputs.image }}
Expand Down
2 changes: 1 addition & 1 deletion docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ghcr.io/gofr-dev/website:latest
WORKDIR /app

COPY docs/quick-start /app/src/app/docs/quick-start
COPY docs/public /app/public
COPY docs/public/ /app/public/
COPY docs/advanced-guide /app/src/app/docs/advanced-guide
COPY docs/references /app/src/app/docs/references
COPY docs/page.md /app/src/app/docs
Expand Down

0 comments on commit 7119742

Please sign in to comment.