Skip to content

Cleanup

Cleanup #80

Workflow file for this run

# Shamelessly stolen from RadicalRedShowdown/damage-calc
name: Deploy to Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: Zarel/setup-node@patch-1
with:
node-version: ${{ matrix.node-version }}
- name: Get short SHA
id: vars
shell: bash
run: |
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Install and Build
run: |
npm install
node build
- name: Deploy
uses: JamesIves/[email protected]
with:
folder: dist
commit-message: "Deploy ${{ steps.vars.outputs.sha_short }}"