All checks were successful
Screeps Publish / build-and-ship (push) Successful in 13s
35 lines
724 B
YAML
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
|