Files
website/.github/workflows/build_dev.yml
AtHeartEngineer 6cc76e3373 Fix Issue 21?
Hopefully this fixed issue https://github.com/AtHeartEngineering/pse_landingpage/issues/21 where external contributors can't build
2022-06-11 08:35:32 -04:00

37 lines
696 B
YAML

name: Build Dev
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-deploy-dev:
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛒
uses: actions/checkout@v3
- name: Install and Build
run: |
npm ci
npm run prerender
- name: Deploy to gh-pages-dev branch
uses: JamesIves/github-pages-deploy-action@v4.3.3
with:
branch: gh-pages-dev
folder: build