Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Publish docs to gh-pages branch of this repo #97

Merged
merged 5 commits into from Jan 18, 2019
Merged

Conversation

amaury1093
Copy link
Collaborator

Fixes #31

cp -r $TMPDIR $SCOPE

# Return to original branch
git checkout master
done

# Docs are updated, we commit back to repo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to git checkout gh-pages here

rm -rf $SCOPE
cp -r $TMPDIR $SCOPE

# Return to original branch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably need to commit --allow-empty and then commit --amend in each iteration to prevent error: Your local changes to the following files would be overwritten by checkout

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or alternatively generate docs for all packages in SCOPES and then checkout to gh-pages, copy and commit

@amaury1093 amaury1093 merged commit b9ffcb4 into master Jan 18, 2019
@amaury1093 amaury1093 deleted the am-github-pages branch January 18, 2019 16:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants