Skip to content

Add command definition to workflow-specs.md #11

Add command definition to workflow-specs.md

Add command definition to workflow-specs.md #11

Workflow file for this run

name: Deploy workflow
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@main
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.8.0
with:
fail: true
- name: Use Node.js 17.8.x
uses: actions/setup-node@main
with:
node-version: 17.8.x
- name: Build devchat website
run: |
npm install
npm run build
- name: Deploying docusaurus to Amazon S3
uses: dvelasquez/deploy-s3-action@main
with:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_BUCKET_NAME: ${{ secrets.AWS_BUCKET_NAME }}
BUCKET_PATH: ""
DIST_LOCATION_CODE: ./build