Skip to content

✍️ Debug signing #226

✍️ Debug signing

✍️ Debug signing #226

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
environment: build
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 5
- name: 📦 Download assets
run: |
wget -qO- ${{ secrets.ASSET_URL }} > encrypted.gpg
gpg --batch --yes --passphrase "${{ secrets.ASSET_SECRET_KEY }}" -o Tiny\ RPG\ Character\ Asset\ Pack\ v1.03b\ -Full\ 20\ Characters.zip -d encrypted.gpg
md5sum -c Tiny\ RPG\ Character\ Asset\ Pack\ v1.03b\ -Full\ 20\ Characters.zip.md5sum
working-directory: ./assets
- name: 🏗️ Build assets
run: |
npm install
npm run build
working-directory: ./assets
- name: 🏗️ Build core
run: |
npm install
npm run build
working-directory: ./core
- name: 🏗️ Build interface
run: |
npm install
npm run build
working-directory: ./interface
- name: 🏗️ Build sandbox
run: |
npm install
npm run build
working-directory: ./sandbox
- name: 🏗️ Build coverage
run: |
./run_coverage.sh
working-directory: ./core
- name: 🚀 Deploy
uses: JamesIves/[email protected]
with:
folder: ./sandbox/dist