Skip to content

Commit

Permalink
Fix deployment issues
Browse files Browse the repository at this point in the history
  • Loading branch information
goodwillhacking committed Jun 10, 2024
1 parent bc915df commit 4bf63e1
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .do/app.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
name: goodwillhacking
name: GoodwillHacking
static_sites:
- environment_slug: html
- build_command: hugo --destination ./public
environment_slug: hugo
github:
branch: main
deploy_on_push: true
repo: goodwillhacking/website
name: goodwillhacking
name: GoodwillHacking
69 changes: 69 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# borrowed from https://github.com/dependabot/dependabot-core/blob/main/.github/dependabot.yml

version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "monthly"
groups:
dev-dependencies:
dependency-type: "development"
update-types:
- "minor"
- "patch"
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "monthly"
groups:
dev-dependencies:
dependency-type: "development"
update-types:
- "minor"
- "patch"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "mix"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
groups:
dev-dependencies:
dependency-type: "development"
update-types:
- "minor"
- "patch"
ignore:
- dependency-name: "npm"
update-types: ["version-update:semver-major"]
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "pub"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "nuget"
directory: "/"
schedule:
interval: "monthly"
32 changes: 32 additions & 0 deletions .github/workflows/page-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Page Test

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true

- name: Build Page
env:
HUGO_OEMBED_ACCESSTOKEN: ${{ secrets.HUGO_OEMBED_ACCESSTOKEN }}
HUGO_VSSUE_CLIENTSECRET: ${{ secrets.HUGO_VSSUE_CLIENTSECRET }}
run: |
npm ci
npm run deploy
- name: Validate HTML
run: |
wget -P ./exampleSite https://github.com/validator/validator/releases/download/latest/vnu.jar
java -jar ./exampleSite/vnu.jar --verbose --skip-non-html --also-check-css --errors-only ./exampleSite/public
18 changes: 18 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
extends: default

rules:
comments:
min-spaces-from-content: 1
comments-indentation: false
document-start: disable
line-length:
max: 180
level: warning
braces:
min-spaces-inside: 0
max-spaces-inside: 1
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
new-lines:
type: unix
4 changes: 2 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ theme = "FeelIt"
[params.social]
GitHub = "xxxx"
Linkedin = "xxxx"
Twitter = "xxxx"
Twitter = "tcpipeep"
Keybase = "xxxx"

# Home page config
Expand All @@ -75,7 +75,7 @@ theme = "FeelIt"
[params.home.profile]
enable = true
# Profile Name
name = "Nicholas Karonji"
name = ""
# Gravatar Email for preferred avatar in home page
gravatarEmail = ""
# URL of avatar shown in home page
Expand Down

0 comments on commit 4bf63e1

Please sign in to comment.