Skip to content

Commit

Permalink
Merge pull request #95 from almusil/automatic_push
Browse files Browse the repository at this point in the history
ci: Make sure that we push all documentation changes
  • Loading branch information
putnopvut authored Sep 3, 2024
2 parents 5688aab + b974dcc commit 294ade5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/dist-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,18 @@ jobs:
with:
name: dist-docs-${{ join(matrix.*, '-') }}
path: /tmp/dist-docs.tgz

push-changes:
if: github.repository_owner == 'ovn-org' && github.ref_name == 'main'
name: Push changes
runs-on: ubuntu-latest
needs: [build-linux]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: checkout ovn-website
uses: actions/checkout@v4

- name: Trigger publish
run: gh workflow run publish.yml --ref main
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: publish-push

on:
workflow_dispatch:
push:
branches:
- main
Expand Down

0 comments on commit 294ade5

Please sign in to comment.