Skip to content

rebuild_site

rebuild_site #1069

Workflow file for this run

name: Rebuild site from Strapi
on:
workflow_dispatch:
repository_dispatch:
types: [rebuild_site]
env:
PUBLIC_STRAPI_URL: ${{ vars.PUBLIC_STRAPI_URL }}
jobs:
build-and-deploy:
runs-on: ubuntu-latest
concurrency: ci-${{ github.ref }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install and Build 🔧
run: |
yarn install
yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
branch: gh-pages
folder: dist