Skip to content

Commit

Permalink
publish gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
SchlenkR committed Oct 25, 2023
1 parent a5871e7 commit 2b38265
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 27 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,26 @@ on: workflow_dispatch

jobs:
build:

runs-on: ubuntu-latest

defaults:
run:
working-directory: .

steps:
- uses: actions/checkout@v2
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x
- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x
- name: nuget publish
env:
nuget_push: ${{ secrets.NUGET_API_KEY }}
run: dotnet fsi build.fsx publish
- uses: actions/checkout@v2

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

- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x

- name: nuget publish
env:
nuget_push: ${{ secrets.NUGET_API_KEY }}
run: dotnet fsi build.fsx publish
27 changes: 27 additions & 0 deletions .github/workflows/publish_gh_pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish Docs to GH Pages

on:
workflow_dispatch:
push:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup dotnet
uses: actions/setup-dotnet@v3

- name: Build / Release
shell: pwsh
run: ./docu.ps1

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./Docu



28 changes: 15 additions & 13 deletions .github/workflows/push-master_pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,24 @@ on:

jobs:
build:

runs-on: ubuntu-latest

defaults:
run:
working-directory: .

steps:
- uses: actions/checkout@v2
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x
- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x
- name: Run Tests
run: dotnet fsi build.fsx test
- uses: actions/checkout@v2

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

- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x

- name: Run Tests
run: dotnet fsi build.fsx test

0 comments on commit 2b38265

Please sign in to comment.