Deploy #1507
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |