Skip to content

Commit

Permalink
Merge pull request #37 from hpicgs/dev
Browse files Browse the repository at this point in the history
Presentation Release
  • Loading branch information
Jasperhino authored Oct 12, 2022
2 parents 4f829d2 + 738a259 commit 4a954d3
Show file tree
Hide file tree
Showing 17 changed files with 49,287 additions and 136 deletions.
37 changes: 33 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/github-tag-action@1.36.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true

- name: Install pnpm ⚙
uses: pnpm/action-setup@v2.2.2
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.
Expand Down Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,7 @@ $RECYCLE.BIN/
node_modules

metrics.json
metrics.csv
metrics.csv

frontend/embed/*
!frontend/embed/embed.*.js
Loading

0 comments on commit 4a954d3

Please sign in to comment.