Skip to content

Commit

Permalink
CI/CD to deploy statiq site and Create CNAME
Browse files Browse the repository at this point in the history
- 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
atiq-cs committed Dec 1, 2021
1 parent 06f3247 commit a4a3250
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yml
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 }}
1 change: 1 addition & 0 deletions input/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
note.iqubit.xyz

0 comments on commit a4a3250

Please sign in to comment.