crossing the streams
at main 33 lines 643 B view raw
1name: Deploy Documentation 2 3on: 4 push: 5 branches: 6 - 'main' 7 8jobs: 9 build-and-deploy: 10 runs-on: ubuntu-latest 11 12 steps: 13 - name: Checkout repository 14 uses: actions/checkout@v3 15 16 - name: Set up Node.js 17 uses: actions/setup-node@v3 18 with: 19 node-version: 18 20 21 - name: Install dependencies 22 run: npm ci 23 working-directory: ./docs 24 25 - name: Build documentation 26 run: npm run build 27 working-directory: ./docs 28 29 - name: Deploy to GitHub Pages 30 uses: peaceiris/actions-gh-pages@v3 31 with: 32 github_token: ${{ secrets.GITHUB_TOKEN }} 33 publish_dir: ./docs/dist