Skip to content

Deploy

Deploy #1401

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
schedule:
- cron: '0 7 * * *'
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install NPM dependencies
run: npm install
- name: Update roblox-ts
run: |
cd rbxts-worker
npm install roblox-ts@latest
- name: Build Worker
run: npm run build:rbxts-worker
- name: Build
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build
publish_branch: gh-pages
cname: roblox-ts.com