Skip to content

Commit

Permalink
Fix build output path
Browse files Browse the repository at this point in the history
Change-Id: I6b77d9942324254b5312d80156f089b183a02201
  • Loading branch information
awesome-manuel committed Apr 23, 2024
1 parent 77be884 commit 1837733
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 100
fetch-depth: 0

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/edge_ghpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4.6.0
with:
branch: gh-pages
folder: build
folder: dist
3 changes: 1 addition & 2 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
- run: yarn build
- run: |
version=`git describe --dirty --tags || echo unknown`
mkdir -p dist
cp -r build synapse-admin-$version
cp -r dist synapse-admin-$version
tar chvzf dist/synapse-admin-$version.tar.gz synapse-admin-$version
- uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN yarn build
# App
FROM nginx:stable-alpine

COPY --from=builder /src/build /app
COPY --from=builder /src/dist /app

RUN rm -rf /usr/share/nginx/html \
&& ln -s /app /usr/share/nginx/html

0 comments on commit 1837733

Please sign in to comment.