Files
screeps-code/.gitea/workflows/publish.yaml
NinjaSurge 8b7ec440b4
All checks were successful
Screeps Publish / build-and-ship (push) Successful in 13s
Typo
2025-10-21 02:35:19 -05:00

35 lines
724 B
YAML

name: Screeps Publish
on:
push:
branches:
- main
jobs:
build-and-ship:
runs-on: node-23
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 23
- name: Install dependencies
run: |
cd $GITHUB_WORKSPACE
npm install -g grunt-cli && npm install
- name: Secret File Generation
env:
SCREEPS_SECRETS: ${{ secrets.SCREEPS_SECRETS }}
run: |
cd $GITHUB_WORKSPACE
echo $SCREEPS_SECRETS | base64 -d > .screeps.json
- name: Deploy
run: |
cd $GITHUB_WORKSPACE
grunt