Skip to content

Bump vitepress from 1.3.3 to 1.5.0 #121

Bump vitepress from 1.3.3 to 1.5.0

Bump vitepress from 1.3.3 to 1.5.0 #121

Workflow file for this run

name: CI
on: [push, workflow_dispatch]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: npm ci
- run: npm run lint --no-fix --no-error-on-unmatched-patt
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.S3_ONLY_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.S3_ONLY_AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Build and deploy
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch'
run: |
npm run docs:build
aws s3 rm s3://harness-vue-bootstrap-docs --recursive
aws s3 sync docs/.vitepress/dist s3://harness-vue-bootstrap-docs
aws cloudfront create-invalidation --distribution-id E3SM26QKXD46A6 --paths "/*"