Skip to content

Commit

Permalink
fix: pull updated gh-pages (#200)
Browse files Browse the repository at this point in the history
Hotfix to #196 that automates GitHub Pages deployments. Looks like the
workflow failed in error because it didn't have the most recent version
of the gh-pages branch. This PR will hopefully fix that issue.

Signed-off-by: Jacob Emery <jacob.emery@ibm.com>
  • Loading branch information
jacobemery committed Sep 15, 2023
1 parent 3632878 commit 0e61040
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,20 @@ jobs:
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Fetch Latest gh-pages Branch
run: |
git fetch origin gh-pages
git checkout gh-pages
git pull origin gh-pages
git checkout main
- name: Install mkdocs
run: pip install mkdocs

Expand Down

0 comments on commit 0e61040

Please sign in to comment.