Skip to content

Commit bef71a7

Browse files
authored
Merge pull request #29 from harvey0100/new_website
Avocado New Website Master Merge
2 parents 1bfa92d + 2f9d2b1 commit bef71a7

Some content is hidden

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

69 files changed

+6281
-1697
lines changed

.github/workflows/jekyll-gh-pages.yml renamed to .github/workflows/jekyll-gh-pages-avatar.yml

+27-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
2-
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
2+
name: Deploy Jekyll with GitHub Pages dependencies preinstalled - Avatar Script
33

44
on:
55
# Runs on pushes targeting the default branch
@@ -30,21 +30,46 @@ jobs:
3030
uses: actions/checkout@v3
3131
with:
3232
path: main
33+
3334
- name: Clone autils repo
3435
uses: actions/checkout@v3
3536
with:
3637
repository: avocado-framework/autils
3738
path: resources/autils
3839
ref: main
39-
- name: Copy autils metadate to _data dir
40+
41+
- name: List files in autils directory
42+
run: ls -R resources/autils/metadata/autils/
43+
44+
- name: Copy autils metadata to _data dir
4045
run: cp -r resources/autils/metadata/autils/* main/_data/autils/
46+
47+
- name: Copy YAML files from autils
48+
run: cp -r resources/autils/metadata/autils/**/*.yml main/_data/autils/
49+
50+
- name: Set up Python
51+
uses: actions/setup-python@v2
52+
with:
53+
python-version: '3.x'
54+
55+
- name: Install dependencies
56+
run: pip install pyyaml requests
57+
58+
- name: Merge YAML files
59+
run: python main/scripts/mergefiles.py
60+
61+
- name: Update maintainer image
62+
run: python main/scripts/deployavatar.py
63+
4164
- name: Setup Pages
4265
uses: actions/configure-pages@v3
66+
4367
- name: Build with Jekyll
4468
uses: actions/jekyll-build-pages@v1
4569
with:
4670
source: main/
4771
destination: main/_site
72+
4873
- name: Upload artifact
4974
uses: actions/upload-pages-artifact@v1
5075
with:

CREDITS

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
2-
Theme based on architect theme: https://github.com/pages-themes/architect
1+
Theme and icons designed by: https://gitlab.com/fedora/design/community-design-team/issues/-/issues/146/
2+
Creators: https://gitlab.com/ekidney, https://gitlab.com/madelinepeck, https://gitlab.com/vintprox,
33
License: CC0 1.0 Universal
4-
5-
Avocado Tree background image by Joachim Huber at https://www.flickr.com/photos/sara_joachim/2473587957
6-
License: CC BY-SA 2.0

Gemfile

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
source "https://rubygems.org"
2+
# Hello! This is where you manage which Jekyll version is used to run.
3+
# When you want to use a different version, change it below, save the
4+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5+
#
6+
# bundle exec jekyll serve
7+
#
8+
# This will help ensure the proper Jekyll version is running.
9+
# Happy Jekylling!
10+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
11+
gem "minima", "~> 2.5"
12+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
13+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
14+
gem "github-pages", group: :jekyll_plugins
15+
# If you have any plugins, put them here!
16+
group :jekyll_plugins do
17+
gem "jekyll-feed", "~> 0.12"
18+
end
19+
20+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
21+
# and associated library.
22+
platforms :mingw, :x64_mingw, :mswin, :jruby do
23+
gem "tzinfo", ">= 1", "< 3"
24+
gem "tzinfo-data"
25+
end
26+
27+
# Performance-booster for watching directories on Windows
28+
gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin]
29+
30+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
31+
# do not have a Java counterpart.
32+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

0 commit comments

Comments
 (0)