Skip to content

Commit

Permalink
added github build action
Browse files Browse the repository at this point in the history
  • Loading branch information
fracpete committed Jun 20, 2024
1 parent 11965b7 commit a7187cf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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

8 changes: 4 additions & 4 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
}

# Name of the theme to use.
THEME = "bootstrap3"
THEME = "bootstrap4"

# Below this point, everything is optional

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a7187cf

Please sign in to comment.