Skip to content

Removed 'Print git remote' and 'Clean gh-pages branch' sections from … #10

Removed 'Print git remote' and 'Clean gh-pages branch' sections from …

Removed 'Print git remote' and 'Clean gh-pages branch' sections from … #10

Workflow file for this run

name: Deploy Docusaurus to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Build Docusaurus site
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
destination_dir: swdr5-docs