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

deploy docs to dj-stripe.github.io with version support #2058

Merged
merged 1 commit into from May 11, 2024

Conversation

abe-101
Copy link
Member

@abe-101 abe-101 commented May 9, 2024

This action will now run on push to master and any stable branch it checkouts both repos dj-stripe and dj-stripe.github.io

it then runs the steps outlined in the dj-stripe.github.io README to build the docs.

it then pushes the result to the gh-pages branch in dj-stripe.github.io (using a github PAT token)

The token should have content permission for dj-stripe.github.io repo
and should be store in this repos (dj-stripe) as a secret with the name GH_PAT

this action will now run on push to master and any stable branch
it checkouts both repos `dj-stripe` and `dj-stripe.github.io` 

it then runs the stets outlined in the `dj-stripe.github.io` [README](https://github.com/abe-101/dj-stripe.github.io/blob/9ab071206550cac28aabc9ff12a512425a41ecfd/README.md) to build the docs.

it then pushes the result to the `gh-pages` branch in `dj-stripe.github.io` (using a github PAT token)
@abe-101 abe-101 changed the title deploy docs to dj-stripe.github.io deploy docs to dj-stripe.github.io with version support May 9, 2024
@abe-101
Copy link
Member Author

abe-101 commented May 9, 2024

this version of the action has the added benefit that it will deploy the docs for all stable versions

@abe-101
Copy link
Member Author

abe-101 commented May 9, 2024

@jleclanche jleclanche merged commit 0f1b9b0 into dj-stripe:master May 11, 2024
2 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants