Fix build output path

Change-Id: I6b77d9942324254b5312d80156f089b183a02201
This commit is contained in:
Manuel Stahl 2024-04-23 12:18:38 +02:00
parent 77be88402f
commit 1837733e07
4 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -26,4 +26,4 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4.6.0
with:
branch: gh-pages
folder: build
folder: dist

View file

@ -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:

View file

@ -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