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 so that theme is included

CNAME ref: add this with deployment output as per tschaub/gh-pages#236
  • Loading branch information
atiq-cs committed Dec 1, 2021
1 parent 031576b commit 6373322
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy Site
on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout root and submodule
uses: actions/checkout@master
with:
submodules: 'true'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.410' # SDK Version to use.
- run: dotnet run -- 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 6373322

Please sign in to comment.