Skip to content

Commit

Permalink
Merge pull request #248 from stride3d/master
Browse files Browse the repository at this point in the history
Initiating deployment of latest website updates to staging
  • Loading branch information
VaclavElias authored Dec 31, 2023
2 parents 9fde91d + a92ef47 commit 16cc837
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 6 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/stride-website-github.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build Stride Web for GitHub Staging

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies & build
run: |
npm install
npm run build
- name: Deploy
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages
1 change: 1 addition & 0 deletions Stride.Web.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Stride.Web", "Stride.Web.cs
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{CFAE5475-B23D-499F-910D-9586C48A654D}"
ProjectSection(SolutionItems) = preProject
.github\workflows\stride-website-github.yml = .github\workflows\stride-website-github.yml
.github\workflows\stride-website-release-azure.yml = .github\workflows\stride-website-release-azure.yml
.github\workflows\stride-website-staging-azure.yml = .github\workflows\stride-website-staging-azure.yml
.github\workflows\stride-website-wiki.yml = .github\workflows\stride-website-wiki.yml
Expand Down
2 changes: 1 addition & 1 deletion _data/site.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"language": "en",
"author": "Stride Team",
"dark-mode": true,
"alert-banner": false,
"alert-banner": true,
"docs-search": true,
"google-analytics": true,
"download-version": "4.2",
Expand Down
4 changes: 2 additions & 2 deletions _includes/alert-banner.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="alert-banner text-center text-bg-dark py-4 px-3">
<p class="text-light h2 mb-3">Stride Developers - Stride Day 2023</p>
<p class="lead">Tune into the live event on Wednesday, September 5th, 2023 to hear the latest in Stride Game Engine development for .NET developers.</p>
<p class="text-light h2 mb-3">Announcing Stride 4.2</p>
<p class="lead">The Stride contributors are thrilled to announce the release of Stride 4.2, now fully compatible with .NET 8 and leveraging the latest enhancements in C# 12. Read more about it <a href="/blog/announcing-stride-4-2-in-dotnet-8/">here</a>.</p>
</div>
10 changes: 9 additions & 1 deletion css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ body {
}
}

.header-image {
.header-image, .alert-banner {
margin-top: 62px;
}

.alert-banner {
margin-bottom: -62px;
}

.alert-banner + .intro-section {
margin-top: 62px;
}

Expand Down
Binary file added images/blog/release-4.2/stride_4_2_fps.webp
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Stride contributors are thrilled to announce the release of Stride 4.2, now full

---

{% img-click 'Stride 4.2 performance enhancements with .NET 8' '/images/blog/release-4.2/stride_4_2_fps.webp' %}

Table of Contents:

[[TOC]]
Expand Down Expand Up @@ -113,7 +115,7 @@ End Module
These examples showcase how F# and Visual Basic can be utilized in Stride. The Stride Community Toolkit provides a set of helpers and extensions designed to enhance your experience with the Stride Game Engine.

## Fixes
Although there have been [many fixes](**https://github.com/stride3d/stride/pulls?page=2&q=is%3Apr+merged%3A%3E2023-10-10**), we like to point out some of them out
Although there have been [many fixes](https://github.com/stride3d/stride/pulls?page=2&q=is%3Apr+merged%3A%3E2023-10-10), we like to point out some of them out:
- [Runtime rasterized fonts are broken #1750](https://github.com/stride3d/stride/issues/1750)
- [Game Studio doesnt reload sub projects after changes #1703](https://github.com/stride3d/stride/issues/1703)
- [Changing the comparison project related and not UPath related #1704](https://github.com/stride3d/stride/pull/1704)
Expand Down Expand Up @@ -157,4 +159,4 @@ In particular we want to thanks these donors:
* {% include sponsor-org.md key:'lucid' emoji:'🥇' %}
* {% include sponsor-user.md key:'skidvis' emoji:'🥇' %}

This article was co-authored by [Aggror Jorn](https://github.com/Aggror).
This article was co-authored by [Aggror Jorn](https://github.com/Aggror).

0 comments on commit 16cc837

Please sign in to comment.