diff --git a/.github/workflows/pages-upload-action.yml b/.github/workflows/pages-upload-action.yml index 418f221..06ca269 100644 --- a/.github/workflows/pages-upload-action.yml +++ b/.github/workflows/pages-upload-action.yml @@ -25,13 +25,20 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Dotnet Setup + + - name: Setup Signing + run: | + mkdir Secrets + echo "${{ secrets.LIB_SIGNING_KEY }}" > Secrets/sgKey.txt + openssl base64 -d -in Secrets/sgKey.txt -out Secrets/sgKey.snk + + - name: .NET Setup uses: actions/setup-dotnet@v3 with: dotnet-version: 8.x + # Build ezrĀ², install docfx and generate the docs. - run: dotnet build ezrSquared.sln -c Release - - run: dotnet tool update -g docfx - run: docfx docs/docfx.json @@ -40,6 +47,7 @@ jobs: with: # Upload entire repository path: 'docs/_site' + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index a72bd99..7c612c4 100644 --- a/.gitignore +++ b/.gitignore @@ -365,4 +365,4 @@ FodyWeavers.xsd # -------------------------------------------------- [Ll]ibraries/ -/NOCOMMIT +[Ss]ecrets/ diff --git a/src/EzrSquared.csproj b/src/EzrSquared.csproj index a6f5118..2ec09dd 100644 --- a/src/EzrSquared.csproj +++ b/src/EzrSquared.csproj @@ -53,9 +53,9 @@ True snupkg + True - False - D:\Code\csharp\ezrSquared\NOCOMMIT\sgKey.snk + ..\Secrets\sgKey.snk