AntimatterDimensionsSourceCode/.github/workflows/deploy-release.yml
2022-12-17 16:40:09 +01:00

32 lines
665 B
YAML

name: Deploy release
on:
push:
branches:
- release
workflow_dispatch:
branches:
- release
jobs:
build:
name: Deploy 🚀
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'
- run: npm ci
- run: npm run build:release
- uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GH_PUBLISH_TOKEN }}
repository-name: IvarK/AntimatterDimensions
branch: master
folder: dist
single-commit: true