-
Notifications
You must be signed in to change notification settings - Fork 17
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
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
fcfa8de
Add workflow
cpfiffer 560ca34
Create Documentation.yml
cpfiffer 19f1373
Move workflow
cpfiffer dca0184
Merge branch 'master' of github.com:cpfiffer/turing.ml
cpfiffer 8e8701b
Updates to workflow
cpfiffer 1185827
Debugging
cpfiffer 51c286d
use Pkg in make.jl
cpfiffer 249b8bd
Add update pass
cpfiffer 3e95f72
Ignore Manifest.toml
cpfiffer 603f837
Update deps
cpfiffer 728fc26
dev Turing for doc build
cpfiffer af3ecbf
Pkg.dev => Pkg.develop
cpfiffer 66beb20
Add repo var back to make.jl
cpfiffer 6a44faf
Lie to github
cpfiffer 7d9fd63
Chyange the repo url?
cpfiffer 3903040
More lying to github
cpfiffer ae9f45e
Remove versioning
cpfiffer 7c6d767
Fix baseurl
cpfiffer 23dc715
Add stuff
cpfiffer 1d3efd1
Changes to git checkout
cpfiffer 66af740
Add version info
cpfiffer b8cd272
Minor fix to versioning
cpfiffer 944e2e9
Handle versioning better
cpfiffer dc9ff49
Actually add the version number
cpfiffer 215ea1e
Test without stable
cpfiffer 61d24a7
Fixes
cpfiffer d542063
Handle stable differently
cpfiffer 01d0ba4
Undo last commit
cpfiffer c287c06
Remove stable build
cpfiffer 685cec0
Add deploy config
cpfiffer 6c2b5cf
This is the worst to debug
cpfiffer d927c64
Kill me
cpfiffer 28a7007
Add cron job to GH Actions
cpfiffer 96f7fb0
Add comment to _config
cpfiffer f3e693b
Merge with Turing master
cpfiffer 9f2fbd3
Fix repo name
cpfiffer 7402408
Unfix the repo name, more work to do
cpfiffer daf6131
Test build type
cpfiffer 6357ac4
Fix path error
cpfiffer 4960418
Fixing more path issues
cpfiffer 58c0022
Why am I so bad at this
cpfiffer b620357
Remove bizarro index code
cpfiffer ab9e6ab
Clear all extraneous documents
cpfiffer 77ee0d3
Directory fix
cpfiffer fe99c09
Change directory
cpfiffer 786f17f
Make modifications
cpfiffer 86ac665
Testing data rehoming
cpfiffer c2d1415
Prepare for PR
cpfiffer 26acda2
Update make.jl
cpfiffer e7e44dd
Fixing force order
cpfiffer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ _site/ | |
.sass-cache/ | ||
.jekyll-cache/ | ||
.jekyll-metadata | ||
.gems/ | ||
.gems/ | ||
Manifest.toml |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.