From 16ac3b89d88d8915c03bbdbab9e6b52b5b6ad638 Mon Sep 17 00:00:00 2001 From: mchilli Date: Mon, 9 Oct 2023 15:39:47 +0200 Subject: [PATCH] add github workflow --- .github/workflows/update-github-pages.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/update-github-pages.yml diff --git a/.github/workflows/update-github-pages.yml b/.github/workflows/update-github-pages.yml new file mode 100644 index 0000000..adcd107 --- /dev/null +++ b/.github/workflows/update-github-pages.yml @@ -0,0 +1,19 @@ +name: Update GitHub Pages + +on: + push: + branches: + - main + paths: + - 'webui/**' + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./webui