Skip to content

feat: E-commerce website with AWS Serverless (#30) #44

feat: E-commerce website with AWS Serverless (#30)

feat: E-commerce website with AWS Serverless (#30) #44

Workflow file for this run

name: Deploy Github Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install dependencies & build
run: |
npm ci
npm run build-ghpages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./_site
github_token: ${{ secrets.GITHUB_TOKEN }}