diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 55f774b..00890a7 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,22 +1,16 @@ -# Simple workflow for deploying static content to GitHub Pages name: Deploy static content to Pages on: - # Runs on pushes targeting the default branch push: branches: ["main"] - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages 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 @@ -38,7 +32,9 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: '8.x' - - run: dotnet run --project ./src/BuildSite ./Content ./WebApp Production + + - run: dotnet tool install -g Ater.EasyBlog --version 1.0.0-beta1 + - run: ezblog build ./Content ./WebApp - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/webinfo.json b/webinfo.json index 0d73505..5f46d6f 100644 --- a/webinfo.json +++ b/webinfo.json @@ -3,5 +3,5 @@ "Description": "\uD83D\uDDFDto be a human", "AuthorName": "NilTor", "BaseHref": "/EasyBlog/", - "Domain": "https://aterdev.github.io/EasyBlog/" + "Domain": "https://aterdev.github.io/" } \ No newline at end of file