Fix canvas capture, and remove color now makes enabled if shift is pr… #49
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: Build and GH-Page Deploy | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
VITE_DISCORD_BOT_ID: "970714810905936022" | |
VITE_DISCORD_BOT_REDIRECT: "https://api.pixelbattle.fun/login" | |
VITE_BACKEND: "https://api.pixelbattle.fun" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.18 | |
- name: Install | |
run: yarn install | |
- name: Build | |
run: yarn build | |
- name: Deploy to GH Page | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist | |
single-commit: false |