Skip to content

Commit

Permalink
actions: Ruby 3.3 and simplified to a single yml
Browse files Browse the repository at this point in the history
Updated README to match www.openfl.org
  • Loading branch information
joshtynjala committed Sep 24, 2024
1 parent 149e4b9 commit 18e4215
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 66 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Deploy
name: Build & Deploy

on:
push:
branches: [ master ]
on: [push, pull_request]

jobs:
build:
Expand All @@ -20,7 +18,7 @@ jobs:

- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.3
bundler-cache: true

- uses: krdlab/setup-haxe@v1
Expand All @@ -46,11 +44,6 @@ jobs:
mkdir api
cp -a _lime-git/docs/pages/. api/
# - name: Install dependencies
# run: |
# sudo apt-get install zopfli
# _scripts/install.sh

- name: Install dependencies
run: |
_scripts/install.sh
Expand All @@ -59,19 +52,9 @@ jobs:
run: |
_scripts/build.sh
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: us-west-2

# - name: Deploy to AWS
# run: |
# _scripts/deploy.sh

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.repository == 'openfl/lime.openfl.org' && github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/test-deploy.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_site/*
*.DS_Store*
.sass-cache
Gemfile.lock
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ group :jekyll_plugins do
gem 'pygments.rb'
gem 'kramdown-parser-gfm'
end

gem "webrick", "~> 1.8"
26 changes: 7 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
# Jekyll Doc Theme
Lime.OpenFL.org
===============

Go to [the website](https://aksakalli.github.io/jekyll-doc-theme/) for detailed information and demo.
This is the source for https://lime.openfl.org.

## Running locally
You can build the site using [Jekyll](https://www.jekyllrb.com). It should work in a Unix environment, either from Linux, macOS or the Ubuntu Bash Shell for Windows. Make sure that Ruby is installed, and install Bundler (`gem install bundler`), then run the following in the openfl.org directory:

You need Ruby and gem before starting, then:
bundle install
bundle exec jekyll serve

```bash
# install bundler
gem install bundler

# clone the project
git clone https://github.com/aksakalli/jekyll-doc-theme.git
cd jekyll-doc-theme

# run jekyll with dependencies
bundle exec jekyll serve
```

## License

Released under [the MIT license](LICENSE).
Thanks for using Lime!

0 comments on commit 18e4215

Please sign in to comment.