Skip to content

Commit 02517b2

Browse files
committed
init
0 parents  commit 02517b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+88554
-0
lines changed

.github/workflows/build-deploy.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out
13+
uses: actions/checkout@v1
14+
- name: Install Composer Dependencies
15+
run: composer install --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
16+
- name: Install NPM Dependencies
17+
run: npm install
18+
- name: Build Site
19+
run: npm run production
20+
- name: Deploy
21+
if: success()
22+
uses: crazy-max/ghaction-github-pages@v1
23+
with:
24+
repo: wtf-php/wtf-php.github.io
25+
target_branch: master
26+
build_dir: build_production
27+
env:
28+
GITHUB_PAT: ${{ secrets.ACCESS_TOKEN }}

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/build_*/
2+
/node_modules/
3+
/vendor/
4+
.DS_Store

LICENSE.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) <Matt Stauffer, Anthony Terrell, Keith Damiani>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

bootstrap.php

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
// @var $container \Illuminate\Container\Container
4+
// @var $events \TightenCo\Jigsaw\Events\EventBus
5+
6+
/*
7+
* You can run custom code at different stages of the build process by
8+
* listening to the 'beforeBuild', 'afterCollections', and 'afterBuild' events.
9+
*
10+
* For example:
11+
*
12+
* $events->beforeBuild(function (Jigsaw $jigsaw) {
13+
* // Your code here
14+
* });
15+
*/
16+
17+
$events->afterBuild(App\Listeners\GenerateSitemap::class);
18+
$events->afterBuild(App\Listeners\GenerateIndex::class);

composer.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"require": {
3+
"tightenco/jigsaw": "^1.3",
4+
"tightenco/jigsaw-blog-template": "^1.0",
5+
"samdark/sitemap": "^2.2"
6+
},
7+
"autoload": {
8+
"psr-4": {
9+
"App\\Listeners\\": "listeners/"
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)