Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHinsh committed Sep 11, 2024
1 parent f13b541 commit 5294a0a
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/spellcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
matrix:
- name: Markdown
sources:
- '**/*.md'
- '*.md'
default_encoding: utf-8
aspell:
lang: en
dictionary:
wordlists:
- wordlist.txt
encoding: utf-8
pipeline:
- pyspelling.filters.markdown:
- pyspelling.filters.stylesheets:
- pyspelling.filters.url:
- pyspelling.filters.html:
comments: false
ignores:
- code
- pre
- blockquote
45 changes: 43 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
echo $markdown >> $Env:GITHUB_STEP_SUMMARY
# Build Docs
BuildDocs:
BuildSite:
name: "Build Site"
runs-on: ubuntu-latest
if: ${{ success() }}
Expand Down Expand Up @@ -183,6 +183,7 @@ jobs:
id: spellcheck
name: Spellcheck


- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
Expand All @@ -196,4 +197,44 @@ jobs:
with:
name: Site
path: ./public/**/*


# # Release to Docs
# Publsh:
# name: "Publish Site"
# runs-on: ubuntu-latest
# needs: [Setup, BuildSite]
# if: ${{ success() }}
# steps:

# - name: Download a single artifact
# uses: actions/download-artifact@v4
# with:
# name: Site
# path: ./_site

# - name: "Find files"
# shell: pwsh
# run: |
# Get-Item -Path .\

# - name: Build and Deploy
# uses: Azure/static-web-apps-deploy@v1
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
# upload-dir: './build' # Adjust this to your build output directory

# - name: SFTP Upload ${{ (needs.Setup.outputs.nkdAgility_Ring) }}
# uses: Dylan700/[email protected]
# with:
# server: nakedalmweb.sftp.wpengine.com
# username: nakedalmweb-learn
# password: ${{ secrets.NKDAGILITY_LEARN_SFTP }}
# port: 2222
# # If true, outputs the results of the upload, without actually uploading.
# #dry-run: ${{ (needs.Setup.outputs.nkdAgility_Ring) == 'Canary' }}
# # A list of folders to upload in the format of `folder/ => upload_folder/`
# uploads: |
# ./_site/ => ${{needs.Setup.outputs.nkdAgility_DocsDeployFolder}}
# # If true, any existing files in the remote upload directories are deleted.
# delete: false

0 comments on commit 5294a0a

Please sign in to comment.