Move passwords from tmc #2414
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: headless-lms docs | |
| permissions: read-all | |
| on: | |
| push: | |
| branches: [master] | |
| paths-ignore: | |
| - "docs/**" | |
| - "services/cms/**" | |
| - "services/course-material/**" | |
| - "services/example-exercise/**" | |
| - "services/main-frontend/**" | |
| - "services/quizzes/**" | |
| - "services/tmc/**" | |
| - "storybook/**" | |
| pull_request: | |
| branches: [master] | |
| paths-ignore: | |
| - "docs/**" | |
| - "services/cms/**" | |
| - "services/example-exercise/**" | |
| - "services/course-material/**" | |
| - "services/main-frontend/**" | |
| - "services/quizzes/**" | |
| - "services/tmc/**" | |
| - "storybook/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-deploy: | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Install Rust toolchain | |
| run: rustup show | |
| - name: Update rust to get edition 2021 support | |
| run: rustup update stable | |
| - uses: ./.github/actions/setup-node-pnpm | |
| - name: Run pnpm install --frozen-lockfile | |
| run: pnpm install --frozen-lockfile && git config --unset core.hooksPath | |
| - name: Generate doc files | |
| run: | | |
| bin/generate-doc-files | |
| pnpm run eslint:format-generated-docs | |
| - name: Generate documentation | |
| run: cargo doc --document-private-items | |
| working-directory: services/headless-lms | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| branch: gh-pages | |
| folder: services/headless-lms/target/doc | |
| if: ${{ github.ref == 'refs/heads/master' }} |