From fac89e19c79d92d52e8b2b2e9c62bf8b654ce35b Mon Sep 17 00:00:00 2001 From: Daniel Jakob Date: Wed, 27 Dec 2023 13:17:46 +0000 Subject: [PATCH] Create deploy-gh-pages.yml Deploys the docs/index.html via github-pages --- .github/workflows/deploy-gh-pages.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/deploy-gh-pages.yml diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml new file mode 100644 index 0000000..69376f8 --- /dev/null +++ b/.github/workflows/deploy-gh-pages.yml @@ -0,0 +1,19 @@ +name: Build and Deploy +on: + push: + branches: + - main +permissions: + contents: write +jobs: + build-and-deploy: + concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v4 + + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: docs # The folder the action should deploy.