-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Build workflow * fix tag * fix tab * fix tab * fix draft * on push * delimited * tag * test * tag * write * final try * try no upload * test downloads * fail 1m * turn release public * deploy * remove dep * remove arifacts * rartifacts is back * one release * update nam
- Loading branch information
1 parent
11df408
commit afbd0bd
Showing
2 changed files
with
34 additions
and
34 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: deploy | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Upload agent008.ai | ||
timeout-minutes: 10 | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
gh release download --repo kunzite-app/008 --pattern '008-desktop*' --dir bin | ||
echo "${{ secrets.SITE_SSH_KEY }}" > agent008.pem | ||
chmod 600 agent008.pem | ||
scp -P ${{ secrets.SITE_PORT }} -i agent008.pem -r bin ${{ secrets.SITE_USER }}@${{ secrets.SITE_HOST }}:~/public |