Skip to content

Commit

Permalink
First try to build and publish a built version of the tool via GitHub…
Browse files Browse the repository at this point in the history
… Actions and GitHub Pages
  • Loading branch information
dominik-probst committed Dec 17, 2024
1 parent ea824f0 commit 0f2ad27
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy_pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and Deploy to GitHub Pages

on:
push:
branches:
- reproducability

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install Dependencies
run: npm install

- name: Build Project
run: npm run build-web

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./html

0 comments on commit 0f2ad27

Please sign in to comment.