Skip to content

Separate turing.ml site from Turing.jl #4

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

Merged
merged 50 commits into from
Nov 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
fcfa8de
Add workflow
cpfiffer Sep 14, 2020
560ca34
Create Documentation.yml
cpfiffer Sep 14, 2020
19f1373
Move workflow
cpfiffer Sep 14, 2020
dca0184
Merge branch 'master' of github.com:cpfiffer/turing.ml
cpfiffer Sep 14, 2020
8e8701b
Updates to workflow
cpfiffer Sep 14, 2020
1185827
Debugging
cpfiffer Sep 14, 2020
51c286d
use Pkg in make.jl
cpfiffer Sep 14, 2020
249b8bd
Add update pass
cpfiffer Sep 14, 2020
3e95f72
Ignore Manifest.toml
cpfiffer Sep 14, 2020
603f837
Update deps
cpfiffer Sep 14, 2020
728fc26
dev Turing for doc build
cpfiffer Sep 14, 2020
af3ecbf
Pkg.dev => Pkg.develop
cpfiffer Sep 14, 2020
66beb20
Add repo var back to make.jl
cpfiffer Sep 14, 2020
6a44faf
Lie to github
cpfiffer Sep 14, 2020
7d9fd63
Chyange the repo url?
cpfiffer Sep 14, 2020
3903040
More lying to github
cpfiffer Sep 14, 2020
ae9f45e
Remove versioning
cpfiffer Sep 14, 2020
7c6d767
Fix baseurl
cpfiffer Sep 27, 2020
23dc715
Add stuff
cpfiffer Sep 27, 2020
1d3efd1
Changes to git checkout
cpfiffer Sep 27, 2020
66af740
Add version info
cpfiffer Sep 27, 2020
b8cd272
Minor fix to versioning
cpfiffer Sep 27, 2020
944e2e9
Handle versioning better
cpfiffer Oct 11, 2020
dc9ff49
Actually add the version number
cpfiffer Oct 11, 2020
215ea1e
Test without stable
cpfiffer Oct 11, 2020
61d24a7
Fixes
cpfiffer Oct 11, 2020
d542063
Handle stable differently
cpfiffer Oct 11, 2020
01d0ba4
Undo last commit
cpfiffer Oct 11, 2020
c287c06
Remove stable build
cpfiffer Oct 28, 2020
685cec0
Add deploy config
cpfiffer Oct 28, 2020
6c2b5cf
This is the worst to debug
cpfiffer Oct 28, 2020
d927c64
Kill me
cpfiffer Oct 28, 2020
28a7007
Add cron job to GH Actions
cpfiffer Oct 31, 2020
96f7fb0
Add comment to _config
cpfiffer Oct 31, 2020
f3e693b
Merge with Turing master
cpfiffer Oct 31, 2020
9f2fbd3
Fix repo name
cpfiffer Oct 31, 2020
7402408
Unfix the repo name, more work to do
cpfiffer Oct 31, 2020
daf6131
Test build type
cpfiffer Oct 31, 2020
6357ac4
Fix path error
cpfiffer Oct 31, 2020
4960418
Fixing more path issues
cpfiffer Oct 31, 2020
58c0022
Why am I so bad at this
cpfiffer Oct 31, 2020
b620357
Remove bizarro index code
cpfiffer Oct 31, 2020
ab9e6ab
Clear all extraneous documents
cpfiffer Oct 31, 2020
77ee0d3
Directory fix
cpfiffer Oct 31, 2020
fe99c09
Change directory
cpfiffer Oct 31, 2020
786f17f
Make modifications
cpfiffer Nov 1, 2020
86ac665
Testing data rehoming
cpfiffer Nov 1, 2020
c2d1415
Prepare for PR
cpfiffer Nov 1, 2020
26acda2
Update make.jl
cpfiffer Nov 3, 2020
e7e44dd
Fixing force order
cpfiffer Nov 3, 2020
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
47 changes: 47 additions & 0 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Documentation

on:
push:
branches:
- 'master'
tags: '*'
workflow_dispatch:
schedule:
# Run on the 23rd hour every day
- cron: '0 23 * * *'

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Julia
uses: julia-actions/setup-julia@v1
with:
version: '1'
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: '2.6.x'
- name: Install dependencies
run: |
julia --project=docs -e '
using Pkg
Pkg.activate(".")
Pkg.develop("Turing")
Pkg.instantiate()
Pkg.update()'
- name: Build and deploy (master)
run: |
julia --project=docs --color=yes make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
TURING_VERSION: dev
- name: Build and deploy (stable)
run: |
git -C ~/.julia/dev/Turing checkout $(git -C ~/.julia/dev/Turing tag --sort version:refname | tail -n 1)
julia --project=docs --color=yes make.jl $(git -C ~/.julia/dev/Turing tag --sort version:refname | tail -n 1)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ _site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata
.gems/
.gems/
Manifest.toml
Loading