Skip to content

Commit

Permalink
Merge pull request #4 from gr-oss-devops/3709-fix-gh-pages
Browse files Browse the repository at this point in the history
CI: Update paths for deploying GH pages
  • Loading branch information
pavlovic-ivan committed Jun 19, 2024
2 parents e4e896e + 2179d3f commit 8f0b874
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ on:
- master
paths:
- 'docs/*.md'
- 'docs/quickstart'
- 'docs/developer'
- 'docs/design'
- 'docs/logo/**/*'
- '*.md'
- '.github/workflows/pages.yml'

jobs:
deploy-gh-pages:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout master
uses: actions/checkout@v4
Expand All @@ -31,10 +32,7 @@ jobs:
run: |
cp master/docs/*.md gh-pages/
rm gh-pages/docs-readme.md
cp -r master/docs/quickstart gh-pages/
cp master/docs/quickstart/index.md gh-pages/quickstart.md
cp -r master/docs/developer gh-pages/
cp -r master/docs/design gh-pages/
cp master/CODE_OF_CONDUCT.md master/CONTRIBUTING.md gh-pages/_pages/
- name: Commit GH Pages
Expand Down

0 comments on commit 8f0b874

Please sign in to comment.