Skip to content

Commit

Permalink
remove docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
alerighi committed Jan 10, 2024
1 parent 27be28e commit 6afdc15
Showing 1 changed file with 0 additions and 53 deletions.
53 changes: 0 additions & 53 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,56 +60,3 @@ jobs:
working-directory: library/
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-docs:
name: Build documentation
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
working-directory: library/
run: npm ci

- name: Build documentation
working-directory: library/
run: npm run docs

- name: Configure GitHub Pages
uses: actions/configure-pages@v3

- name: Fix permissions
run: |
chmod -c -R +rX "docs/" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: docs/

docs:
needs: build-docs

name: Publish documentation on GitHub pages
runs-on: ubuntu-latest

permissions:
contents: read
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 6afdc15

Please sign in to comment.