Skip to content

Commit

Permalink
Merge branch 'master' into dev/beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent-Call authored Nov 18, 2023
2 parents cc47346 + 31c346c commit 473aff3
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: KG Deploy code
name: KG Test/Deploy Code
on:
push:
branches:
- master
- dev/alpha
- dev/beta
pull_request:
branches:
branches:
- master
- dev/alpha
- dev/beta
Expand All @@ -17,14 +17,17 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Yarn setup
uses: DerYeger/yarn-setup-action@master
- name: NodeJS setup
uses: actions/setup-node@v4
with:
node-version: 16

node-version: 20

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: yarn
run: yarn install --frozen-lockfile

- name: Lint
run: yarn lint

Expand All @@ -33,14 +36,13 @@ jobs:

deploy:
runs-on: ubuntu-latest
if: github.event_name == 'push'
needs: build
steps:
- name: executing remote ssh commands using password
- name: Executing remote SSH commands using password
uses: appleboy/[email protected]
with:
username: ${{ secrets.KG_SSH_USER }}
host: ${{ secrets.KG_SSH_HOST }}
key: ${{ secrets.KG_SSH_KEY }}
script: /var/www/kittensgame.com/html/deploy.sh


0 comments on commit 473aff3

Please sign in to comment.