mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-23 16:25:21 +03:00
Fix build output path
Change-Id: I6b77d9942324254b5312d80156f089b183a02201
This commit is contained in:
parent
77be88402f
commit
1837733e07
4 changed files with 4 additions and 5 deletions
2
.github/workflows/docker-release.yml
vendored
2
.github/workflows/docker-release.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/edge_ghpage.yml
vendored
2
.github/workflows/edge_ghpage.yml
vendored
|
@ -26,4 +26,4 @@ jobs:
|
|||
uses: JamesIves/github-pages-deploy-action@v4.6.0
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: build
|
||||
folder: dist
|
||||
|
|
3
.github/workflows/github-release.yml
vendored
3
.github/workflows/github-release.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue