-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
65 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,7 +154,7 @@ jobs: | |
echo $markdown >> $Env:GITHUB_STEP_SUMMARY | ||
# Build Docs | ||
BuildDocs: | ||
BuildSite: | ||
name: "Build Site" | ||
runs-on: ubuntu-latest | ||
if: ${{ success() }} | ||
|
@@ -183,6 +183,7 @@ jobs: | |
id: spellcheck | ||
name: Spellcheck | ||
|
||
|
||
- name: Setup Hugo | ||
uses: peaceiris/actions-hugo@v3 | ||
with: | ||
|
@@ -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 |