This commit is contained in:
@@ -26,17 +26,14 @@ jobs:
|
|||||||
- name: Push Docker image to registry
|
- name: Push Docker image to registry
|
||||||
run: docker push registry.rokoh.com/rokoh:latest
|
run: docker push registry.rokoh.com/rokoh:latest
|
||||||
|
|
||||||
deploy:
|
- name: SSH Deploy
|
||||||
runs-on: ubuntu-latest
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
|
with:
|
||||||
needs: build
|
host: 10.1.1.90
|
||||||
|
username: ${{ secrets.SERVER_USERNAME }}
|
||||||
steps:
|
password: ${{ secrets.SERVER_PASSWORD }}
|
||||||
- name: Install Docker
|
script: |
|
||||||
uses: docker/setup-action@v2
|
docker pull registry.rokoh.com/rokoh:latest
|
||||||
|
docker stop rokoh || true
|
||||||
- name: Pull Docker image from registry
|
docker rm rokoh || true
|
||||||
run: docker pull registry.rokoh.com/rokoh:latest
|
docker run -d --name rokoh -p 6000:80 registry.rokoh.com/rokoh:latest
|
||||||
|
|
||||||
- name: Run Docker container
|
|
||||||
run: docker run -d -p 6000:80 registry.rokoh.com/rokoh:latest
|
|
||||||
Binary file not shown.
@@ -1,7 +1,16 @@
|
|||||||
{
|
{
|
||||||
"Version": 1,
|
"Version": 1,
|
||||||
"WorkspaceRootPath": "C:\\Users\\clive\\source\\repos\\rokoh\\",
|
"WorkspaceRootPath": "C:\\Users\\clive\\source\\repos\\rokoh\\",
|
||||||
"Documents": [],
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\clive\\source\\repos\\rokoh\\.gitea\\workflows\\default.yml||{8B382828-6202-11D1-8870-0000F87579D2}",
|
||||||
|
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:.gitea\\workflows\\default.yml||{8B382828-6202-11D1-8870-0000F87579D2}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{3C910F6E-1007-44D0-910A-5D44B3CCD1B9}|rokoh\\rokoh.csproj|c:\\users\\clive\\source\\repos\\rokoh\\rokoh\\pages\\index.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}",
|
||||||
|
"RelativeMoniker": "D:0:0:{3C910F6E-1007-44D0-910A-5D44B3CCD1B9}|rokoh\\rokoh.csproj|solutionrelative:rokoh\\pages\\index.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}"
|
||||||
|
}
|
||||||
|
],
|
||||||
"DocumentGroupContainers": [
|
"DocumentGroupContainers": [
|
||||||
{
|
{
|
||||||
"Orientation": 0,
|
"Orientation": 0,
|
||||||
@@ -9,7 +18,7 @@
|
|||||||
"DocumentGroups": [
|
"DocumentGroups": [
|
||||||
{
|
{
|
||||||
"DockedWidth": 200,
|
"DockedWidth": 200,
|
||||||
"SelectedChildIndex": -1,
|
"SelectedChildIndex": 3,
|
||||||
"Children": [
|
"Children": [
|
||||||
{
|
{
|
||||||
"$type": "Bookmark",
|
"$type": "Bookmark",
|
||||||
@@ -18,6 +27,36 @@
|
|||||||
{
|
{
|
||||||
"$type": "Bookmark",
|
"$type": "Bookmark",
|
||||||
"Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
"Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 1,
|
||||||
|
"Title": "Index.cshtml",
|
||||||
|
"DocumentMoniker": "C:\\Users\\clive\\source\\repos\\rokoh\\rokoh\\Pages\\Index.cshtml",
|
||||||
|
"RelativeDocumentMoniker": "rokoh\\Pages\\Index.cshtml",
|
||||||
|
"ToolTip": "C:\\Users\\clive\\source\\repos\\rokoh\\rokoh\\Pages\\Index.cshtml",
|
||||||
|
"RelativeToolTip": "rokoh\\Pages\\Index.cshtml",
|
||||||
|
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|",
|
||||||
|
"WhenOpened": "2024-05-06T12:47:02.897Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "default.yml",
|
||||||
|
"DocumentMoniker": "C:\\Users\\clive\\source\\repos\\rokoh\\.gitea\\workflows\\default.yml",
|
||||||
|
"RelativeDocumentMoniker": ".gitea\\workflows\\default.yml",
|
||||||
|
"ToolTip": "C:\\Users\\clive\\source\\repos\\rokoh\\.gitea\\workflows\\default.yml",
|
||||||
|
"RelativeToolTip": ".gitea\\workflows\\default.yml",
|
||||||
|
"ViewState": "AQIAAAkAAAAAAAAAAAAAABsAAAAAAAAA",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003775|",
|
||||||
|
"WhenOpened": "2024-05-06T12:33:48.592Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user