Skip to content

Update Caddyfile

Update Caddyfile #11

name: Build and Deploy to gh-pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{github.ref}}
runs-on: ubuntu-latest
if: github.repository == 'electh/ReactFlux'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install and Build
run: |
npm install
npm ci
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build