From eb1f423da3c592afeaf0046ac1ce79736a0c8d11 Mon Sep 17 00:00:00 2001 From: Alexey Khit Date: Mon, 6 Mar 2023 14:07:15 +0300 Subject: [PATCH] Add gh-pages --- .github/workflows/gh-pages.yml | 37 ++++++++ website/index.html | 155 +++++++++++++++++++++++++++++++++ 2 files changed, 192 insertions(+) create mode 100644 .github/workflows/gh-pages.yml create mode 100644 website/index.html diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 00000000..b86423dd --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,37 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment +concurrency: + group: "pages" + cancel-in-progress: true + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + path: './website' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 diff --git a/website/index.html b/website/index.html new file mode 100644 index 00000000..82c64332 --- /dev/null +++ b/website/index.html @@ -0,0 +1,155 @@ + + + + + go2rtc + + + + +
+ + + +
+ + + \ No newline at end of file