diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..587b98e --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,14 @@ +on: [push] + +jobs: + nikola_build: + runs-on: ubuntu-latest + name: 'Deploy Nikola to GitHub Pages' + steps: + - name: Check out + uses: actions/checkout@v3 + with: + set-safe-directory: '*' + - name: Build and Deploy Nikola + uses: getnikola/nikola-action@v8 + diff --git a/conf.py b/conf.py index 599a859..55e8ead 100644 --- a/conf.py +++ b/conf.py @@ -131,7 +131,7 @@ } # Name of the theme to use. -THEME = "bootstrap3" +THEME = "bootstrap4" # Below this point, everything is optional @@ -414,11 +414,11 @@ # For user.github.io OR organization.github.io pages, the DEPLOY branch # MUST be 'master', and 'gh-pages' for other repositories. -# GITHUB_SOURCE_BRANCH = 'master' -# GITHUB_DEPLOY_BRANCH = 'gh-pages' +GITHUB_SOURCE_BRANCH = 'master' +GITHUB_DEPLOY_BRANCH = 'gh-pages' # The name of the remote where you wish to push to, using github_deploy. -# GITHUB_REMOTE_NAME = 'origin' +GITHUB_REMOTE_NAME = 'origin' # Where the output site should be located # If you don't use an absolute path, it will be considered as relative