forked from doubaniux/boofilsic
-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
publish after tests, deploy after publish
- Loading branch information
Your Name
committed
Sep 27, 2023
1 parent
f71b1b0
commit 80a52fd
Showing
7 changed files
with
32 additions
and
14 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
@@ -1,21 +1,24 @@ | ||
name: Deployment | ||
name: deployment | ||
on: | ||
workflow_run: | ||
workflows: ["all tests"] | ||
branches: [main] | ||
workflows: ["publish"] | ||
types: | ||
- completed | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
deployment: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
name: Deployment | ||
name: Preview Deployment | ||
runs-on: ubuntu-latest | ||
environment: preview | ||
steps: | ||
- name: ssh | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
port: ${{ secrets.SSH_PORT }} | ||
username: ${{ secrets.SSH_USER }} | ||
key: ${{ secrets.SSH_KEY }} | ||
script: ${{ vars.DEPLOY_SCRIPT }} |
16 changes: 14 additions & 2 deletions
16
.github/workflows/docker-dev.yml → .github/workflows/publish.yml
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
File renamed without changes.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[submodule "neodb-takahe"] | ||
path = neodb-takahe | ||
url = git@github.com:alphatownsman/neodb-takahe.git | ||
url = https://github.com/alphatownsman/neodb-takahe.git | ||
branch = neodb |
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