Working on simulated gravity #82
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
# Created by MichaelCurrin | |
# https://gist.github.com/MichaelCurrin/a698731096f78240f653faf9a9127cba | |
name: Build and deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@master | |
with: | |
persist-credentials: false | |
submodules: true # TODO remove this if not using submodules in Hexo | |
- name: Install 🔧 | |
run: npm install | |
- name: Build 🏗️ | |
run: | | |
npm run clean | |
npm run build | |
- name: Deploy to GH Pages 🚀 | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: client/dist |