Skip to content

Commit

Permalink
Fix self-hosted client image
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat committed Sep 12, 2024
1 parent bc2aaaa commit 4b976b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/selfhosted-client-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,21 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: 'Copy Static' # Needed since Github actions does not support symlinks
run: cp -r frontend/static nodeapp/static

- name: 'Download basic.selfhosted.js Artifact'
if: inputs.semver == '' # Only if workflow fired from frontend-build.yml
uses: dawidd6/action-download-artifact@v6
with:
workflow: frontend-build.yml
workflow_conclusion: success
name: web-basic-selfhosted-js
path: nodeapp/static/frontend/
path: frontend/static/frontend/

- name: 'Download main.js Artifact for a release'
if: inputs.semver != '' # Only if fired as job in release.yml
uses: actions/download-artifact@v4
with:
name: web-basic-selfhosted-js
path: nodeapp/static/frontend/
path: frontend/static/frontend/

- name: 'Download pro.selfhosted.js Artifact'
if: inputs.semver == '' # Only if workflow fired from frontend-build.yml
Expand All @@ -47,14 +44,14 @@ jobs:
workflow: frontend-build.yml
workflow_conclusion: success
name: web-pro-selfhosted-js
path: nodeapp/static/frontend/
path: frontend/static/frontend/

- name: 'Download pro.js Artifact for a release'
if: inputs.semver != '' # Only if fired as job in release.yml
uses: actions/download-artifact@v4
with:
name: web-pro-selfhosted-js
path: nodeapp/static/frontend/
path: frontend/static/frontend/

- name: 'Log in to Docker Hub'
uses: docker/login-action@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/web-client-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
workflow: frontend-build.yml
workflow_conclusion: success
name: web-main-js
path: frontend/static/frontend/
path: web/static/frontend/

- name: 'Download main.js Artifact for a release'
if: inputs.semver != '' # Only if fired as job in release.yml
uses: actions/download-artifact@v4
with:
name: web-main-js
path: frontend/static/frontend/
path: web/static/frontend/

- name: 'Download pro.js Artifact'
if: inputs.semver == '' # Only if workflow fired from frontend-build.yml
Expand All @@ -47,14 +47,14 @@ jobs:
workflow: frontend-build.yml
workflow_conclusion: success
name: web-pro-js
path: frontend/static/frontend/
path: web/static/frontend/

- name: 'Download pro.js Artifact for a release'
if: inputs.semver != '' # Only if fired as job in release.yml
uses: actions/download-artifact@v4
with:
name: web-pro-js
path: frontend/static/frontend/
path: web/static/frontend/

- name: 'Log in to Docker Hub'
uses: docker/login-action@v3
Expand Down

0 comments on commit 4b976b3

Please sign in to comment.