Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit 4dcdee1

Browse files
committed
Revert "clean"
This reverts commit 96202bc.
1 parent 96202bc commit 4dcdee1

Some content is hidden

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

50 files changed

+22853
-0
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Report a Bug
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Bug Description**
11+
A clear and concise description of what the bug is and how to reproduce it.
12+
13+
**Screenshots**
14+
If applicable, add screenshots to help explain your problem.
15+
16+
**Browser (please complete the following information):**
17+
- OS: [e.g. iOS]
18+
- Browser [e.g. chrome, safari]
19+
- Version [e.g. 22]
20+
21+
**Last upstream Slate commit (run `git log --author="\(Robert Lord\)\|\(Matthew Peveler\)\|\(Mike Ralphson\)" | head -n 1`):**
22+
Put the commit hash here

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Questions, Ideas, Discussions
4+
url: https://github.com/slatedocs/slate/discussions
5+
about: Ask and answer questions, and propose new features.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!--
2+
⚠️ 🚨 ⚠️ STOP AND READ THIS ⚠️ 🚨 ⚠️
3+
4+
👆👆 see that 'base fork' dropdown above? You should change it! The default value of "slatedocs/slate" submits your change to ALL USERS OF SLATE, not just your company. This is PROBABLY NOT WHAT YOU WANT.
5+
-->

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: bundler
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
target-branch: dev
9+
versioning-strategy: increase-if-necessary

.github/workflows/build.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ '*' ]
6+
pull_request:
7+
branches: [ '*' ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
ruby-version: [2.6, 2.7, '3.0', 3.1, 3.2]
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Set up Ruby
20+
uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: ${{ matrix.ruby-version }}
23+
24+
- uses: actions/cache@v3
25+
with:
26+
path: vendor/bundle
27+
key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
28+
restore-keys: |
29+
gems-${{ runner.os }}-${{ matrix.ruby-version }}-
30+
gems-${{ runner.os }}-
31+
32+
- run: bundle config set deployment 'true'
33+
- name: bundle install
34+
run: |
35+
bundle config path vendor/bundle
36+
bundle install --jobs 4 --retry 3
37+
38+
- run: bundle exec middleman build

.github/workflows/deploy.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches: [ 'main' ]
6+
7+
jobs:
8+
deploy:
9+
permissions:
10+
contents: write
11+
12+
runs-on: ubuntu-latest
13+
env:
14+
ruby-version: 2.6
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Set up Ruby
19+
uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: ${{ env.ruby-version }}
22+
23+
- uses: actions/cache@v3
24+
with:
25+
path: vendor/bundle
26+
key: gems-${{ runner.os }}-${{ env.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
27+
restore-keys: |
28+
gems-${{ runner.os }}-${{ env.ruby-version }}-
29+
gems-${{ runner.os }}-
30+
31+
- run: bundle config set deployment 'true'
32+
- name: bundle install
33+
run: |
34+
bundle config path vendor/bundle
35+
bundle install --jobs 4 --retry 3
36+
37+
- run: bundle exec middleman build
38+
39+
- name: Deploy
40+
uses: peaceiris/actions-gh-pages@v3
41+
with:
42+
github_token: ${{ secrets.GITHUB_TOKEN }}
43+
publish_dir: ./build
44+
keep_files: true

0 commit comments

Comments
 (0)