Skip to content

Commit 26c61b4

Browse files
committed
Fixed conflict with newer files
2 parents 5f973ad + 9460898 commit 26c61b4

480 files changed

Lines changed: 95246 additions & 14 deletions

File tree

Some content is hidden

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

.circleci/circle_urls.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
REPO_ID=$(curl https://api.github.com/repos/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME} | jq --raw-output '.id')
2+
echo "Repo ID is ${REPO_ID}"
3+
4+
URL=https://output.circle-artifacts.com/output/job/${CIRCLE_WORKFLOW_JOB_ID}/artifacts/${CIRCLE_NODE_INDEX}
5+
BASEURL=/intersect-training.github.io
6+
IMGURL=${URL}${BASEURL}/images/
7+
8+
echo "URL is ${URL}"
9+
10+
sed -i "35 s,.*,baseurl: $BASEURL,g" "_config.yml"
11+
sed -i "48 s,.*,urlimg: $IMGURL,g" "_config.yml"
12+
sed -i "34 s,.*,url: $URL,g" "_config.yml"

.circleci/config.yml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
version: 2.1
2+
3+
workflows:
4+
version: 2
5+
6+
# The build workflow will build a preview for the site, intended for PRs
7+
# don't need to build gh-pages only other branches
8+
build:
9+
jobs:
10+
- build-site:
11+
filters:
12+
branches:
13+
ignore: gh-pages
14+
15+
install: &install
16+
name: install dependencies for build
17+
command: |
18+
$HOME/conda/bin/pip install -r ~/repo/.circleci/requirements.txt
19+
install_python_3: &install_python_3
20+
name: install Python 3.5 dependencies
21+
command: |
22+
ls $HOME
23+
if [ ! -d "/home/circleci/conda" ]; then
24+
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
25+
/bin/bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/conda
26+
export PATH=$HOME/conda/bin:$PATH
27+
else
28+
echo "Miniconda 3 is already installed, continuing to build."
29+
fi
30+
build_jekyll: &build_jekyll
31+
name: Jekyll Build
32+
command: |
33+
if [ -z "$CIRCLECI_TRIGGER" ]; then
34+
echo "Building EASI Site for Preview"
35+
cp ~/repo/.circleci/circle_urls.sh ~/repo/circle_urls.sh
36+
cd ~/repo
37+
chmod u+x circle_urls.sh
38+
bash circle_urls.sh
39+
cat _config.yml
40+
bundle install
41+
bundle exec jekyll build
42+
else
43+
echo "Triggered by something else."
44+
fi
45+
jobs:
46+
build-site:
47+
docker:
48+
- image: cimg/ruby:3.1
49+
working_directory: ~/repo
50+
environment:
51+
- JEKYLL_ENV: production
52+
- NOKOGIRI_USE_SYSTEM_LIBRARIES: true
53+
- BUNDLE_PATH: ~/repo/vendor/bundle
54+
steps:
55+
- checkout
56+
- restore_cache:
57+
keys:
58+
- v1-dependencies
59+
- rubygems-v1
60+
- run: *install_python_3
61+
- run: *install
62+
- save_cache:
63+
paths:
64+
- /home/circleci/conda
65+
key: v1-dependencies
66+
- run:
67+
name: Bundle Install
68+
command: |
69+
cd ~/repo
70+
bundle install
71+
bundle check || bundle install
72+
- save_cache:
73+
key: rubygems-v1
74+
paths:
75+
- vendor/bundle
76+
- run: *build_jekyll
77+
- store_artifacts:
78+
path: ~/repo/_site
79+
destination: EASI.github.io

.circleci/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyaml>=17.12.1

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.bundle
2+
.DS_Store
3+
.jekyll-metadata
4+
.sass-cache
5+
Gemfile.lock

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
intersect-training.org

Gemfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
source 'https://rubygems.org'
2+
3+
#gem 'jekyll'
4+
5+
group :jekyll_plugins do
6+
gem 'jekyll-gist'
7+
gem 'jekyll-paginate'
8+
gem "jekyll-asciidoc"
9+
end
10+
11+
gem 'asciidoctor', '~> 1.5.4'
12+
gem 'coderay', '1.1.1'
13+
14+
15+
gem "webrick", "~> 1.7"

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2023 AdaptiveExperiments
3+
Copyright (c) 2014 Moritz »mo.« Sauer // Phlow.de
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ This project is supported by National Science Foundation awards [2209821](https:
6868
![](https://i.imgur.com/9qujX6H.png)
6969

7070

71-
### Contacts
71+
### Contact
7272
Jeffrey Carver, University of Alabama
7373

7474

0 commit comments

Comments
 (0)