Skip to content

Commit

Permalink
Merge pull request #1336 from p4lang/fix-deploy
Browse files Browse the repository at this point in the history
ci: fix deploy job issues
  • Loading branch information
jafingerhut authored Nov 14, 2024
2 parents 1981aa0 + c42bfd6 commit cfe3d57
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/asciidoc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,16 @@ jobs:
# Fetch all history for all branches
fetch-depth: 0

- name: Configure git
run: |
git config user.name "GitHub Actions"
git config user.email "p4lang@users.noreply.github.com"
- name: Rebase gh-pages branch
run: |
git fetch --all
git checkout main
git pull
git checkout gh-pages
git rebase --quiet main
Expand All @@ -90,10 +98,6 @@ jobs:
name: api-charter
path: api-charter

- name: Configure git
run: |
git config user.name "GitHub Actions"
git config user.email "p4lang@users.noreply.github.com"

- name: Copy files
run: |
Expand Down

0 comments on commit cfe3d57

Please sign in to comment.