Skip to content

Commit

Permalink
Revert "Feature: Convert wyam to statiq (#790) (#792)" (#793)
Browse files Browse the repository at this point in the history
This reverts commit 3d62e6b.
  • Loading branch information
anaisbetts authored Jun 1, 2023
1 parent 3d62e6b commit 060a260
Show file tree
Hide file tree
Showing 1,059 changed files with 136,089 additions and 2,813 deletions.
444 changes: 2 additions & 442 deletions .editorconfig

Large diffs are not rendered by default.

76 changes: 26 additions & 50 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,70 +1,46 @@
name: Build
# This is a basic workflow to help you get started with Actions

name: Build website

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: windows-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Get Current Visual Studio Information
shell: bash
run: |
dotnet tool update -g dotnet-vs
echo "## About RELEASE ##"
vs where release
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true

- name: Install .NET 6
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Install .NET 7
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x

- name: Install DotNet workloads
shell: bash
run: |
dotnet workload install android ios tvos macos maui maccatalyst
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
with:
vs-prerelease: true

- name: Install NuGet
uses: nuget/setup-nuget@v1
with:
nuget-version: '6.x'

- name: NuGet Restore
run: nuget restore

- name: Build DotNet
run: dotnet build --no-restore --configuration Release

- name: Run DotNet
run: dotnet run --no-restore --no-build --configuration Release

- name: Install Node.js
if: ${{ github.event_name != 'pull_request' }}
dotnet-version: |
2.1.x
3.1.x
5.0.x
6.0.x
7.0.x
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'

- name: Checkout
uses: actions/checkout@v3
- name: Build Website
uses: cake-build/cake-action@v1
with:
verbosity: Diagnostic
cake-bootstrap: true
- name: Deploy netlify
if: ${{ github.event_name != 'pull_request' }}
run: |
npm install -g netlify-cli
netlify deploy --auth=${{ secrets.NETLIFY_DEPLOY_KEY }} --site=${{ secrets.NETLIFY_SITE_ID }} --prod --dir=output
netlify deploy --auth=${{ secrets.NETLIFY_DEPLOY_KEY }} --site=${{ secrets.NETLIFY_SITE_ID }} --prod --dir=output
Loading

0 comments on commit 060a260

Please sign in to comment.