Skip to content

Commit

Permalink
ci: rebase gh-pages on master with each change
Browse files Browse the repository at this point in the history
  • Loading branch information
kentbull committed Aug 26, 2024
1 parent 4371a1f commit 56a3c40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ jobs:
- name: Commit changes
run: |
TIMESTAMP=$(date +"%Y-%m-%d %H:%M")
git add site/*
git rebase master
git add site/*
git commit -m "Update site with new build - $TIMESTAMP"
- name: Push changes to gh-pages branch
run: git push origin gh-pages
run: git push origin gh-pages --force
4 changes: 3 additions & 1 deletion docs/03_dev-guide/03-06-DevGuide_Code_Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ description: Examples of how to integrate drand in various coding languages.
---
# 3.6 DevGuide: Code Examples

drand is easy to use with clients in Go and JavaScript as shown here. The HTTP API is how other languages can interact with drand. A Python example is provided below.
drand is easy to use with clients in Go and JavaScript as shown here.

The HTTP API is how other languages can interact with drand. A Python example is provided below.

## Golang

Expand Down

0 comments on commit 56a3c40

Please sign in to comment.