Skip to content

Only check for Ron when trashed card is in location #1

Only check for Ron when trashed card is in location

Only check for Ron when trashed card is in location #1

Workflow file for this run

name: CD
on:
push:
branches:
- "main"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🛎️ Check out
uses: actions/checkout@v4
- name: 🧮 Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: 📦 Install dependencies
run: npm ci
- name: 🧽 Lint
run: npm run lint
- name: 🛠️ Build
run: make -C play index.html ROADROLLER_FLAGS=-O2
- uses: actions/upload-artifact@v4
with:
name: index.html
path: play/index.html
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: 🛎️ Check out
uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: index.html
path: gh-pages
- name: 🚀 Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: gh-pages
package:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: index.html
- run: sudo apt-get install -y p7zip-full
- name: 📦 Package
run: 7z a -mx=9 -mfb=256 -mpass=15 index.zip index.html
- uses: actions/upload-artifact@v4
with:
name: index.zip
path: index.zip