diff --git a/.github/workflows/update-pages.yml b/.github/workflows/update-pages.yml index 5db0f94da68..3c3219b30b7 100644 --- a/.github/workflows/update-pages.yml +++ b/.github/workflows/update-pages.yml @@ -3,10 +3,15 @@ name: Build GH-Pages on: pull_request: - branches: [master] - types: [opened, synchronize, reopened] + branches: + - master + types: + - opened + - synchronize + - reopened push: - branches: [master] + branches: + - master workflow_dispatch: concurrency: @@ -14,49 +19,29 @@ concurrency: cancel-in-progress: true jobs: - update_pages: + prep: runs-on: ubuntu-latest - steps: - name: Checkout uses: actions/checkout@v4 - - name: Checkout gh-pages - uses: actions/checkout@v4 - with: - ref: gh-pages - path: gh-pages - persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of the personal token - fetch-depth: 0 # otherwise, will fail to push refs to dest repo - - - name: Prepare gh-pages - run: | - # empty contents - rm -f -r ./gh-pages/* - - # copy template back to pages - cp -f -r ./gh-pages-template/. ./gh-pages/ - - - name: Upload Artifacts - if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }} + - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: gh-pages - if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` - path: | - ${{ github.workspace }}/gh-pages - !**/*.git - - - name: Deploy to gh-pages - if: >- - (github.event_name == 'push' && github.ref == 'refs/heads/master') || - (github.event_name == 'workflow_dispatch') - uses: actions-js/push@v1.5 - with: - github_token: ${{ secrets.GH_BOT_TOKEN }} - author_email: ${{ secrets.GH_BOT_EMAIL }} - author_name: ${{ secrets.GH_BOT_NAME }} - directory: gh-pages - branch: gh-pages - force: false - message: sync gh-pages to ${{ github.sha }} + name: prep + path: gh-pages-template/ + if-no-files-found: error + include-hidden-files: true + retention-days: 1 + + call-jekyll-build: + needs: prep + uses: LizardByte/LizardByte.github.io/.github/workflows/jekyll-build.yml@master + with: + site_artifact: 'prep' + target_branch: 'gh-pages' + clean_gh_pages: true + secrets: + GH_BOT_EMAIL: ${{ secrets.GH_BOT_EMAIL }} + GH_BOT_NAME: ${{ secrets.GH_BOT_NAME }} + GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }} diff --git a/gh-pages-template/_config.yml b/gh-pages-template/_config.yml new file mode 100644 index 00000000000..17e327744f5 --- /dev/null +++ b/gh-pages-template/_config.yml @@ -0,0 +1,4 @@ +--- +# See https://github.com/daattali/beautiful-jekyll/blob/master/_config.yml for documented options + +avatar: "/Sunshine/assets/img/navbar-avatar.png" diff --git a/gh-pages-template/assets/images/AdobeStock_231616343.jpeg b/gh-pages-template/assets/img/banners/AdobeStock_231616343.jpeg similarity index 100% rename from gh-pages-template/assets/images/AdobeStock_231616343.jpeg rename to gh-pages-template/assets/img/banners/AdobeStock_231616343.jpeg diff --git a/gh-pages-template/assets/images/AdobeStock_231616343_1920x1280.jpg b/gh-pages-template/assets/img/banners/AdobeStock_231616343_1920x1280.jpg similarity index 100% rename from gh-pages-template/assets/images/AdobeStock_231616343_1920x1280.jpg rename to gh-pages-template/assets/img/banners/AdobeStock_231616343_1920x1280.jpg diff --git a/gh-pages-template/assets/images/AdobeStock_303330124.jpeg b/gh-pages-template/assets/img/banners/AdobeStock_303330124.jpeg similarity index 100% rename from gh-pages-template/assets/images/AdobeStock_303330124.jpeg rename to gh-pages-template/assets/img/banners/AdobeStock_303330124.jpeg diff --git a/gh-pages-template/assets/images/AdobeStock_303330124_1920x1280.jpg b/gh-pages-template/assets/img/banners/AdobeStock_303330124_1920x1280.jpg similarity index 100% rename from gh-pages-template/assets/images/AdobeStock_303330124_1920x1280.jpg rename to gh-pages-template/assets/img/banners/AdobeStock_303330124_1920x1280.jpg diff --git a/gh-pages-template/assets/images/AdobeStock_305732536.jpeg b/gh-pages-template/assets/img/banners/AdobeStock_305732536.jpeg similarity index 100% rename from gh-pages-template/assets/images/AdobeStock_305732536.jpeg rename to gh-pages-template/assets/img/banners/AdobeStock_305732536.jpeg diff --git a/gh-pages-template/assets/images/AdobeStock_305732536_1920x1280.jpg b/gh-pages-template/assets/img/banners/AdobeStock_305732536_1920x1280.jpg similarity index 100% rename from gh-pages-template/assets/images/AdobeStock_305732536_1920x1280.jpg rename to gh-pages-template/assets/img/banners/AdobeStock_305732536_1920x1280.jpg diff --git a/gh-pages-template/assets/img/navbar-avatar.png b/gh-pages-template/assets/img/navbar-avatar.png new file mode 100644 index 00000000000..785bc479b96 Binary files /dev/null and b/gh-pages-template/assets/img/navbar-avatar.png differ diff --git a/gh-pages-template/index.html b/gh-pages-template/index.html index 8e3ee38422b..5d6ebd32471 100644 --- a/gh-pages-template/index.html +++ b/gh-pages-template/index.html @@ -1,809 +1,614 @@ - - - - LizardByte - Sunshine - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
-
-
- - -
-
-

- Sunshine is a self-hosted game stream host for Moonlight. Offering low latency, cloud gaming - server capabilities with support for AMD, Intel, and Nvidia GPUs for hardware encoding. Software - encoding is also available. You can connect to Sunshine from any Moonlight client on a variety - of devices. A web UI is provided to allow configuration, and client pairing, from your favorite - web browser. Pair from the local server or any mobile device. -

-
- - -
-
-

Features

- -
-
-
-
-
-
- -
-
-
Self-hosted
-

- Run Sunshine on your own hardware. No need to pay monthly fees to a - cloud gaming provider. -

-
-
-
+
+
+
+
+
+
+ Moonlight
-
-
-
-
-
-
- -
-
-
Moonlight Support
-

- Connect to Sunshine from any Moonlight client. Moonlight is available - for Windows, macOS, Linux, Android, iOS, Xbox, and more. See - clients for more information. -

-
-
-
+
+
Moonlight Support
+

+ Connect to Sunshine from any Moonlight client. Moonlight is available + for Windows, macOS, Linux, Android, iOS, Xbox, and more. See + clients for more information. +

-
-
-
-
-
- -
-
-
Hardware Encoding
-

- Sunshine supports AMD, Intel, and Nvidia GPUs for hardware encoding. - Software encoding is also available. -

-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
- -
-
-
Low Latency
-

- Sunshine is designed to provide the lowest latency possible to achieve optimal gaming performance. -

-
-
-
+
+
Hardware Encoding
+

+ Sunshine supports AMD, Intel, and Nvidia GPUs for hardware encoding. + Software encoding is also available. +

-
-
-
-
-
- -
-
-
Control
-

- Sunshine emulates an Xbox, PlayStation, or Nintendo Switch controller. - Use nearly any controller on your Moonlight client!
- -

    -
  • Nintendo Switch emulation is only available on Linux.
  • -
  • Gamepad emulation is not currently supported on macOS.
  • -
- -

-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
- -
-
-
Configurable
-

- Sunshine offers many configuration options to customize your experience. -

-
-
-
+
+
Low Latency
+

+ Sunshine is designed to provide the lowest latency possible to achieve optimal gaming performance. +

-
- - -
-
-

Clients

- -
- - -
-
-
-
-
- -
- -
- Official -
-
-
- +
+
+
+
+
+
+
-
- - -
-
-
-
-
- -
- -
- Official -
-
-
- +
+
Control
+

+ Sunshine emulates an Xbox, PlayStation, or Nintendo Switch controller. + Use nearly any controller on your Moonlight client!
+ +

    +
  • Nintendo Switch emulation is only available on Linux.
  • +
  • Gamepad emulation is not currently supported on macOS.
  • +
+ +

- - -
-
-
-
-
- -
-
-
- - iOS - -
-
-
- Official -
-
-
- +
+
+
+
+
+
+
+
+
-
- - -
-
-
-
-
- - - - -
-
-
- - QT - -
-
-
- Official -
-
-
- +
+
Configurable
+

+ Sunshine offers many configuration options to customize your experience. +

- - -
-
-
-
-
- -
- -
- Official -
-
-
- +
+
+
+
+
+
+ + +
+
+

Clients

+ +
+ + +
+
+
+
+
+ +
+ +
+ Official
+
+ +
+
- -
-
-
-
-
- -
- -
- Community -
-
-
- + +
+
+
+
+
+ +
+ +
+ Official
+
+ +
+
- -
-
-
-
-
- -
- -
- Community -
-
-
- + +
+
+
+
+
+ +
+
+
+ + iOS + +
+
+
+ Official
+
+ +
+
- -
-
-
-
-
- -
- -
- Community -
-
-
- + +
+
+
+
+
+ + + +
+
+
+ + QT + +
+
+
+ Official +
+
+
+ +
+
- -
-
-
-
-
- -
- -
- Community -
-
-
- + +
+
+
+
+
+ +
+ +
+ Official
+
+ +
+
- -
-
-
-
-
- -
- -
- Community -
-
-
- + +
+
+
+
+
+ +
+ +
+ Community
- - +
+
-
+ - -
-
- -
-
-
-
- -
-

Documentation

-

- Read the documentation to learn how to install, use, and configure Sunshine. -

-
-
-
-
+
+ +
+ - -
-
-
-
- -
-

Download

-

- Download Sunshine for your platform. -

-
-
-
-
+ + - - + - -
-
-
-
-
-
Support Center
-
Find answers and ask questions.
-
-
-

- The one who knows all the answers has not been asked all the questions. - – Confucius. -

-
- -
- - - - - - - - - - - - - - - - - - - - + + + + + +
+
+ +
+
+
+
+ +
+

Documentation

+

+ Read the documentation to learn how to install, use, and configure Sunshine. +

+
+
+
+ +
+
+ + +
+
+
+
+ +
+

Download

+

+ Download Sunshine for your platform. +

+
+
+
+ +
+
+
+
+ + +