Skip to content

Commit

Permalink
ci: Map HEAD to master
Browse files Browse the repository at this point in the history
  • Loading branch information
kristijanhusak committed Jan 24, 2024
1 parent dab318f commit a283f76
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-go@v4
with:
go-version: '^1.17.1'
Expand All @@ -27,12 +29,14 @@ jobs:
git config user.email [email protected]
git add doc/orgmode.txt
# Only commit and push if we have changes
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push origin master -u $GH_TOKEN)
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)
api_docgen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- name: Install Neovim
uses: rhysd/action-setup-vim@v1
id: neovim
Expand All @@ -55,4 +59,4 @@ jobs:
git config user.email [email protected]
git add doc/orgmode_api.txt
# Only commit and push if we have changes
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push origin master -u $GH_TOKEN)
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push)

0 comments on commit a283f76

Please sign in to comment.