diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7bb4563..f18eb6f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,38 +6,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - name: Setup Pages - id: pages - uses: actions/configure-pages@v3 - - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '7' # SDK Version to use. - - run: dotnet run -c Release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Upload GitHubPages artifact - uses: actions/upload-pages-artifact@v1 - with: - path: 'output/' - - deploy: - needs: build - # Grant GITHUB_TOKEN the permissions required to make a Pages deployment - permissions: - pages: write # to deploy to Pages - id-token: write # to verify the deployment originates from an appropriate source - - # Deploy to the github-pages environment - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - # Specify runner + deployment step - runs-on: ubuntu-latest - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + - uses: actions/checkout@v3 + with: + submodules: recursive + - uses: actions/setup-dotnet@v3 + with: + dotnet-version: '7' # SDK Version to use. + - run: dotnet run -c Release -- deploy + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/input/index.md b/input/index.md index 135016b..f9ecca6 100644 --- a/input/index.md +++ b/input/index.md @@ -4,8 +4,4 @@ Description: Computer Scientist, Software Developer, Application Security Enthu # Hello World -Hello from my first Statiq page. - -## Subsection - -And this is a subsection +This is a simple statically generated site, to serve as a blog host and rudimentary CV for myself.