Skip to content

chore: revert page action (#1764) #10

chore: revert page action (#1764)

chore: revert page action (#1764) #10

name: GH Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Build
run: npm run build --base-href=https://sap.github.io/fundamental/
- name: Deploy
if: success()
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GHPAGE }}
publish_dir: dist/fundamental