-
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.
CI/CD to deploy statiq site and Create CNAME
- deployment yml file - set checkout submoodule to true to include theme - actions/checkout: - use traditional tagged version - utilize release configuration CNAME ref: add this with deployment output as per tschaub/gh-pages#236
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 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,19 @@ | ||
name: Deploy Site | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout root and submodule | ||
uses: actions/checkout@v2 # ref, https://github.com/actions/checkout | ||
with: | ||
submodules: 'true' | ||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
# SDK Version (requires full version) | ||
# i.e, https://dotnet.microsoft.com/download/dotnet/6.0 | ||
dotnet-version: '6.0.100' | ||
- run: dotnet run --configuration Release -- deploy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 @@ | ||
note.iqubit.xyz |