mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2025-02-18 00:20:13 +00:00
32 lines
665 B
YAML
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
|