Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync #121

Merged
merged 38 commits into from
May 3, 2024
Merged

sync #121

Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8b05afc
Merge pull request #81 from daveRendon/staging
daveRendon Apr 26, 2024
1cff8d7
Merge pull request #82 from daveRendon:staging
daveRendon May 1, 2024
985b73b
Merge pull request #83 from daveRendon:staging
daveRendon May 1, 2024
0c17120
Merge pull request #84 from daveRendon/staging
daveRendon May 1, 2024
b1d9aac
Merge pull request #85 from daveRendon/staging
daveRendon May 1, 2024
0a771c6
Merge pull request #86 from daveRendon/staging
daveRendon May 1, 2024
9f563d5
Merge pull request #87 from daveRendon/staging
daveRendon May 1, 2024
7dae882
Merge pull request #88 from daveRendon/staging
daveRendon May 1, 2024
d5a5b61
Merge pull request #89 from daveRendon/staging
daveRendon May 1, 2024
31847f1
Merge pull request #90 from daveRendon/staging
daveRendon May 1, 2024
c5233e5
Merge pull request #91 from daveRendon/staging
daveRendon May 1, 2024
1907fe1
Merge pull request #92 from daveRendon/staging
daveRendon May 1, 2024
2b8ef42
Merge pull request #93 from daveRendon/staging
daveRendon May 1, 2024
f2793e0
Merge pull request #94 from daveRendon/staging
daveRendon May 1, 2024
2fcc7f9
Merge pull request #95 from daveRendon/staging
daveRendon May 1, 2024
8dd2e85
Create hugo-site-build.yml
daveRendon May 1, 2024
f8e8b1f
Merge pull request #96 from daveRendon/staging
daveRendon May 1, 2024
9011dba
Merge pull request #97 from daveRendon/staging
daveRendon May 1, 2024
1fb5f47
Merge pull request #98 from daveRendon/staging
daveRendon May 1, 2024
363fe87
Merge pull request #99 from daveRendon/staging
daveRendon May 1, 2024
3f79835
Merge pull request #100 from daveRendon/staging
daveRendon May 1, 2024
fa5fa7b
Merge pull request #101 from daveRendon/staging
daveRendon May 1, 2024
bc61019
Merge pull request #102 from daveRendon/staging
daveRendon May 1, 2024
1d7acca
Merge pull request #103 from daveRendon/staging
daveRendon May 2, 2024
81df9aa
Merge pull request #104 from daveRendon/staging
daveRendon May 2, 2024
3bcf7d8
Merge pull request #105 from daveRendon/staging
daveRendon May 2, 2024
2433157
Merge pull request #106 from daveRendon/staging
daveRendon May 2, 2024
c27294f
Merge pull request #107 from daveRendon/staging
daveRendon May 2, 2024
dcfd12f
Merge pull request #108 from daveRendon/staging
daveRendon May 2, 2024
22f85fe
Merge pull request #109 from daveRendon/staging
daveRendon May 2, 2024
3b7a8b0
Merge pull request #110 from daveRendon/staging
daveRendon May 2, 2024
14c106f
Merge pull request #111 from daveRendon/staging
daveRendon May 2, 2024
37e9ff1
Merge pull request #112 from daveRendon/staging
daveRendon May 2, 2024
839457f
Merge pull request #113 from daveRendon/staging
daveRendon May 2, 2024
ee85854
Merge pull request #114 from daveRendon/staging
daveRendon May 2, 2024
3a6df74
Merge pull request #115 from daveRendon/staging
daveRendon May 3, 2024
c1e406e
Merge pull request #116 from daveRendon/staging
daveRendon May 3, 2024
069b1ce
Merge pull request #120 from daveRendon/staging
daveRendon May 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions .github/workflows/hugo-site-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages

on:
# Runs on pushes targeting the default branch and everyday at 1 am to update dynamic info
push:
branches:
- main
paths:
- 'docs/**'
schedule:
- cron: "0 1 * * *" # Daily Update at 1 am

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch: {}

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

# Default to bash
defaults:
run:
shell: bash

jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.124.1
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb

- name: Install Dart Sass Embedded
run: sudo snap install dart-sass-embedded

- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Setup Pages
id: pages
uses: actions/configure-pages@v5

- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"

- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
working-directory: ./docs

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/public


# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4