Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow for deploying to github pages #124

Merged
merged 1 commit into from
Dec 16, 2023
Merged

Workflow for deploying to github pages #124

merged 1 commit into from
Dec 16, 2023

Conversation

phschaad
Copy link
Collaborator

@phschaad phschaad commented Dec 15, 2023

The current way of deploying the webclient is through the dace repository. There are a few problems with that:

  1. It is often forgotten that that needs to be updated when changes are made here
  2. The build folder dist is not part of the git repository anymore, for good reasons, so it's a hack to get it uploaded on the deployment.
  3. It's inconsistent, this is what is being deployed.

The idea with this PR is to automatically keep the deployment active when changes are made here, and then the main github pages from the dace repository simply redirects to the webclient where applicable, rather than hosting it itself.

@phschaad phschaad changed the title Create gh-pages.yml Workflow for deploying to github pages Dec 15, 2023
@phschaad phschaad requested a review from tbennun December 15, 2023 09:59
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: '.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be dist then?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs more than dist, for example the HTML file

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right

@phschaad phschaad merged commit 61073d2 into master Dec 16, 2023
2 checks passed
@phschaad phschaad deleted the gh-pages-deploy branch December 16, 2023 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants