fix: prioritize score stat #201
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Canary | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- "README.md" | |
- "LICENSE.md" | |
- "scripts/**" | |
- ".github/**" | |
release: | |
types: [released, prereleased] | |
workflow_dispatch: | |
permissions: | |
contents: write | |
packages: write | |
concurrency: | |
group: canary_environment | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9.2.0 | |
run_install: true | |
- uses: ok-nick/setup-aftman@v0.4.2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Compile | |
run: pnpm build:dev --verbose | |
- name: Build project | |
run: rojo build --output place.rbxlx | |
- name: Upload place artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: place | |
path: place.rbxlx | |
deploy: | |
runs-on: self-hosted | |
environment: canary | |
needs: build | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ok-nick/setup-aftman@v0.4.2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download place artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: place | |
- name: Deploy game | |
run: mantle deploy --allow-purchases --environment canary | |
env: | |
ROBLOSECURITY: ${{ secrets.ROBLOSECURITY }} | |
MANTLE_AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
MANTLE_AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |