Update deploy.yml
This commit is contained in:
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
@@ -5,6 +5,7 @@ on:
|
||||
|
||||
jobs:
|
||||
docker-dh:
|
||||
name: Push to Docker Hub
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -16,6 +17,7 @@ jobs:
|
||||
run: docker push luketainton/fhed:latest
|
||||
|
||||
docker-ghr:
|
||||
name: Push to GitHub Package Registry
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -28,6 +30,7 @@ jobs:
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [docker-dh]
|
||||
steps:
|
||||
- name: Update image on server
|
||||
uses: garygrossgarten/github-action-ssh@release
|
||||
|
||||
Reference in New Issue
Block a user