diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..f1c529a9 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +# Documentation for all configuration options: +# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + + - package-ecosystem: bundler + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..ace64de2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,52 @@ +name: CI +env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + name: Build Site + runs-on: macOS-latest + steps: + - name: git checkout + uses: actions/checkout@v2.4.0 + + - name: versions + run: | + ruby --version + gem --version + bundler --version + + - name: cache + uses: actions/cache@v3.0.2 + with: + path: vendor/bundle + key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-gem- + + - name: bundle install + run: | + gem uninstall jekyll-commonmark-ghpages + bundle config path vendor/bundle + bundle install --without=documentation --jobs 4 --retry 3 + echo "::add-path::/Users/runner/Library/Python/2.7/bin" + + - name: jekyll build + run: bundle exec jekyll build + + - name: danger + # The API token required for Danger to post comments is not available in fork PRs, + # thus disabling Danger for such PRs. See this post for more details: + # https://github.community/t/make-secrets-available-to-builds-of-forks/16166 + if: github.event.pull_request.head.repo.full_name == github.repository + env: + DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} + run: bundle exec danger diff --git a/.gitignore b/.gitignore index 3da9b95d..1fc4b930 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store _site/ .jekyll-metadata +.Ulysses-Settings.plist diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..fd2a0186 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.1.0 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f6c009d3..00000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: ruby - -rvm: - - 2.1.3 - -script: "bundle exec jekyll build" diff --git a/404.html b/404.html index 03a8614f..55d9a020 100644 --- a/404.html +++ b/404.html @@ -6,5 +6,7 @@