Merge pull request #22044 from leandrolanzieri/pr/add_release_notes_2… #104
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Docs | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'doc/guides/**' | |
| - 'doc/starlight/**' | |
| - 'CODE_OF_CONDUCT.md' | |
| - 'GOVERNANCE.md' | |
| - 'CONTRIBUTING.md' | |
| - 'CODING_CONVENTIONS*.md' | |
| - 'SECURITY.md' | |
| - 'release-notes.txt' | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: doc/starlight | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| - name: Build documentation | |
| run: make build | |
| - name: Deploy to riot-os.org server | |
| uses: burnett01/rsync-deployments@v8 | |
| with: | |
| switches: -avzr --delete | |
| path: doc/starlight/dist/ | |
| remote_path: / | |
| remote_host: ${{ secrets.SSH_GUIDES_REMOTE_HOST }} | |
| remote_port: ${{ secrets.SSH_GUIDES_REMOTE_PORT }} | |
| remote_user: ${{ secrets.SSH_GUIDES_REMOTE_USER }} | |
| remote_key: ${{ secrets.SSH_GUIDES_PRIVATE_KEY }} |