Skip to content

Commit

Permalink
Switch to GitHub actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
abbyfour committed Oct 9, 2023
1 parent ab37811 commit c2b50df
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 24 deletions.
23 changes: 0 additions & 23 deletions .circleci/config.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy Gowon
run-name: ${{ github.actor }} is deploying Gowon
on:
push:
branches:
- main
- server-split
jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/[email protected]
with:
host: ${{ secrets.GOWON_HOST_IP }}
username: ${{ secrets.GOWON_HOST_USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: cd ./gowon && /bin/bash ./deploy.sh
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"editor.formatOnPaste": false,
"editor.formatOnType": false,
"editor.formatOnSaveMode": "file",
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint",
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": ".github/workflows/deploy.yml"
}
}

0 comments on commit c2b50df

Please sign in to comment.