Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avocado Website Update #28

Open
wants to merge 2 commits into
base: new_website
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
name: Deploy Jekyll with GitHub Pages dependencies preinstalled - Avatar Script

on:
# Runs on pushes targeting the default branch
Expand Down Expand Up @@ -30,21 +30,37 @@ jobs:
uses: actions/checkout@v3
with:
path: main

- name: Clone autils repo
uses: actions/checkout@v3
with:
repository: avocado-framework/autils
path: resources/autils
ref: main
- name: Copy autils metadate to _data dir

- name: Copy autils metadata to _data dir
run: cp -r resources/autils/metadata/autils/* main/_data/autils/

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: pip install pyyaml requests

- name: Update maintainer image
run: python main/scripts/deployavatar.py

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: main/
destination: main/_site

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
Expand All @@ -54,7 +70,7 @@ jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
url: ${{ steps.deployment.outputs.page_url }} # Added URL for deployment
runs-on: ubuntu-latest
needs: build
steps:
Expand Down
7 changes: 2 additions & 5 deletions CREDITS
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

harvey0100 marked this conversation as resolved.
Show resolved Hide resolved
Theme based on architect theme: https://github.com/pages-themes/architect
Theme and icons designed by: https://gitlab.com/fedora/design/community-design-team/issues/-/issues/146/
Creators: https://gitlab.com/ekidney, https://gitlab.com/madelinepeck, https://gitlab.com/vintprox,
License: CC0 1.0 Universal

Avocado Tree background image by Joachim Huber at https://www.flickr.com/photos/sara_joachim/2473587957
License: CC BY-SA 2.0
32 changes: 32 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
Loading