Skip to content

Change the output mode to work for export for static website #98

Change the output mode to work for export for static website

Change the output mode to work for export for static website #98

Workflow file for this run

name: Deploy to Github Pages
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: "npm"
- name: Build
run: |
yarn install
yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
cname: coopsoc.com.au
publish_dir: ./out