Skip to content

Github Pages Publish #870

Github Pages Publish

Github Pages Publish #870

Workflow file for this run

name: Github Pages Publish
on:
push:
branches:
- master
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * *'
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
- run: npm i
- run: npm run build
- run: echo spacebar.chat >> dist/CNAME
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.
git-config-name: fosscord
git-config-email: [email protected]