mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-12-17 21:41:51 +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
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 100
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
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
|
uses: JamesIves/github-pages-deploy-action@v4.6.0
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
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: yarn build
|
||||||
- run: |
|
- run: |
|
||||||
version=`git describe --dirty --tags || echo unknown`
|
version=`git describe --dirty --tags || echo unknown`
|
||||||
mkdir -p dist
|
cp -r dist synapse-admin-$version
|
||||||
cp -r build synapse-admin-$version
|
|
||||||
tar chvzf dist/synapse-admin-$version.tar.gz synapse-admin-$version
|
tar chvzf dist/synapse-admin-$version.tar.gz synapse-admin-$version
|
||||||
- uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564
|
- uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -12,7 +12,7 @@ RUN yarn build
|
||||||
# App
|
# App
|
||||||
FROM nginx:stable-alpine
|
FROM nginx:stable-alpine
|
||||||
|
|
||||||
COPY --from=builder /src/build /app
|
COPY --from=builder /src/dist /app
|
||||||
|
|
||||||
RUN rm -rf /usr/share/nginx/html \
|
RUN rm -rf /usr/share/nginx/html \
|
||||||
&& ln -s /app /usr/share/nginx/html
|
&& ln -s /app /usr/share/nginx/html
|
||||||
|
|
Loading…
Reference in a new issue