Skip to content

Commit

Permalink
サブモジュール解除
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatehay committed Jul 16, 2024
1 parent 8fbc5eb commit eebf8de
Show file tree
Hide file tree
Showing 212 changed files with 48,801 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "themes/universal"]
path = themes/universal
url = https://github.com/devcows/hugo-universal-theme
[submodule "themes/newsroom"]
path = themes/newsroom
url = https://github.com/onweru/newsroom.git
1 change: 0 additions & 1 deletion themes/universal
Submodule universal deleted from b34533
4 changes: 4 additions & 0 deletions themes/universal/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/*.min.js
**/owl.*.js
**/jquery.*.js
**/hpneo.*.js
6 changes: 6 additions & 0 deletions themes/universal/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends: standard
plugins:
- standard
- promise
env:
jquery: true
3 changes: 3 additions & 0 deletions themes/universal/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github: ryanfox1985
patreon: ryanfox1985
custom: https://paypal.me/ryanfox1985
23 changes: 23 additions & 0 deletions themes/universal/.github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build project with Hugo
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./exampleSite
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

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

- name: Build
run: |
hugo --minify
33 changes: 33 additions & 0 deletions themes/universal/.github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy Github pages
on:
push:
branches:
- master # Set a branch to deploy
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./exampleSite
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

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

- name: Build
run: |
hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./exampleSite/public # if not specified it defaults to ./public. source directory of the built files to make the deploy (must match the build to directory in config.toml), eg ./docs, ./public, ./exampleSite/public

22 changes: 22 additions & 0 deletions themes/universal/.github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Eslint
on: [push, pull_request]
jobs:
linters:
name: Run Eslint
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12

# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
run: npm ci

- name: Run eslint
run: npm run eslint
12 changes: 12 additions & 0 deletions themes/universal/.github/workflows/slack-notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Slack Notification
on: push
jobs:
slackNotification:
name: Slack Notification
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
5 changes: 5 additions & 0 deletions themes/universal/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.DS_Store
public/
npm-debug.log
/node_modules/*
exampleSite/.hugo_build.lock
1 change: 1 addition & 0 deletions themes/universal/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 3 additions & 0 deletions themes/universal/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "stylelint-config-standard"
}
21 changes: 21 additions & 0 deletions themes/universal/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 DevCows

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit eebf8de

Please sign in to comment.