diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..4db1aff2a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: Zola + +on: [push, pull_request] + +jobs: + zola: + runs-on: ubuntu-latest + env: + BASE_URL: https://github.com/getzola/zola/releases/download + VERS: v0.9.0 + ARCH: x86_64-unknown-linux-gnu + # https://github.com/marketplace/actions/github-pages#warning-limitation + GITHUB_PAT: ${{ secrets.GITHUB_PAT }} + steps: + - uses: actions/checkout@v1 + - name: Install Zola + run: curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz + - run: ./zola --version + - run: ./zola build + - name: Deploy + if: github.ref == 'refs/heads/master' + uses: crazy-max/ghaction-github-pages@v1 + with: + build_dir: public diff --git a/.gitignore b/.gitignore index a8c1c00ee..364fdec1a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1 @@ -.bundle -.sass-cache -Gemfile.lock -_site -*.gem +public/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 347284d5b..000000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: ruby -cache: bundler -rvm: - - 2.6 - - 2.4 - -before_install: gem update --system -install: script/bootstrap -script: script/cibuild - -env: - matrix: - - JEKYLL_VERSION="~> 3.5" - - JEKYLL_VERSION="~> 3.8.0" - - JEKYLL_VERSION=">= 4.0.0.pre.alpha1" diff --git a/404.html b/404.html deleted file mode 100644 index c472b4ea0..000000000 --- a/404.html +++ /dev/null @@ -1,24 +0,0 @@ ---- -layout: default ---- - - - -
Page not found :(
-The requested page could not be found.
-- Making Rust a first-class choice for game development -
-- The Rust game development working group's goals are to improve the experience of using Rust to make games, and to make it accessible even if you're not an experienced engine/graphics developer. -
-- Join us on - Github - or - Discord, - and help shape the future of game development in Rust! -
-None yet - stay tuned for updates and announcements!
- {%- endif -%} -- - Subscribe - -
-Page not found :(
+The requested page could not be found.
++ Making Rust a first-class choice for game development +
++ The Rust game development working group's goals are to improve the experience of using Rust to make games, and to make it accessible even if you're not an experienced engine/graphics developer. +
++ Join us on + Github + or + Discord, + and help shape the future of game development in Rust! +
+None yet - stay tuned for updates and announcements!
+ {% endif %} + ++ + Subscribe + +
+