Skip to content

Fix logo format for Sweet Transit #271

Fix logo format for Sweet Transit

Fix logo format for Sweet Transit #271

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- 'main'
schedule:
- cron: "0 0 * * *" # Every day at 00:00 UTC
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build-and-deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
concurrency: ci-${{ github.ref }}
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Fetch GH Sponsors
uses: ./FetchGHSponsors
env:
GH_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
GH_LOGIN: MonoGame
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Build fxccs
run: dotnet build fxccs/fxccs.csproj
- name: Restore NPM Packages
run: npm install
- name: Build Site
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '_site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4