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 18fad9c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .do/app.yml

This file was deleted.

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

0 comments on commit 18fad9c

Please sign in to comment.