Skip to content

Instantly share code, notes, and snippets.

View webdagger's full-sized avatar

Ayomipo Newton webdagger

View GitHub Profile
class PathMe {
moves: string[] = [];
constructor() {
this.moves = [];
return this;
}
moveTo(x: number, y: number) {
@webdagger
webdagger / deploy.sh
Created February 12, 2023 08:14 — forked from stancl/deploy.sh
Deploy using GitHub actions and SSH to a VPS
#!/bin/sh
set -e
vendor/bin/phpunit
npm run prod
git add .
(git commit -m "Build frontend assets for deployment to production") || true
(git push) || true