Skip to content

Simplify application configuration for AWS EB #29

Simplify application configuration for AWS EB

Simplify application configuration for AWS EB #29

name: Deploy Frontend to GitHub Pages
on:
push:
branches: [ main ]
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to
folder: frontend # The folder the action should deploy
clean: true # Automatically remove deleted files from the deploy branch