-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from hpicgs/dev
Presentation Release
- Loading branch information
Showing
17 changed files
with
49,287 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,19 +9,48 @@ permissions: | |
contents: write | ||
|
||
jobs: | ||
bump-version: | ||
name: Bump tag version ⬆ | ||
release: | ||
name: Automatic Release | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout 🛎️ | ||
uses: "actions/checkout@v3" | ||
uses: actions/checkout@v3 | ||
|
||
- name: Bump version and push tag 🏷 | ||
id: tag | ||
uses: anothrNick/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
WITH_V: true | ||
|
||
- name: Install pnpm ⚙ | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
|
||
- name: Install treemaps library 📦 | ||
run: | | ||
cd frontend | ||
git clone --branch hiviser_deployment https://${{ secrets.SEERENE_TREEMAPS_DEPLOY_USER }}:${{ secrets.SEERENE_TREEMAPS_DEPLOY_TOKEN }}@gitlab.hpi3d.de/seerene/treemaps.git | ||
cd treemaps | ||
npm install | ||
npm run build-lib | ||
- name: Build Embedding 🛠 | ||
run: | | ||
cd frontend | ||
pnpm install | ||
pnpm run build:embed | ||
- name: Pubish Release 🚀 | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
tag_name: ${{ steps.tag.outputs.new_tag }} | ||
files: | | ||
frontend/embed/embed.es.js | ||
frontend/embed/embed.umd.js | ||
deploy: | ||
name: Deploy Frontend to GitHub Pages 🚀 | ||
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. | ||
|
@@ -51,7 +80,7 @@ jobs: | |
npm install | ||
npm run build-lib | ||
- name: Install and Build 🔧 | ||
- name: Install and Build Pages 🔧 | ||
run: | | ||
cd frontend | ||
pnpm install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -201,4 +201,7 @@ $RECYCLE.BIN/ | |
node_modules | ||
|
||
metrics.json | ||
metrics.csv | ||
metrics.csv | ||
|
||
frontend/embed/* | ||
!frontend/embed/embed.*.js |
Oops, something went wrong.