Skip to content

Commit 8672676

Browse files
authored
Dockerhub (#142)
* Fixed workflow path * bruh * Jeg hater yaml
1 parent 5a82354 commit 8672676

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ jobs:
3535
tags: fribyte/root-website:latest
3636
build-args: |
3737
APP_BUILD_DATE=${{ github.event.repository.updated_at}}
38-
deploy-to-remote-server:
38+
deploy_to_remote_server:
3939
name: SSH to server and pull new image
4040
needs: push_to_registry
4141
runs-on: ubuntu-latest
4242

4343
steps:
4444
- name: Deploy to Remote Server
45-
uses: appleboy/ssh-action@master
46-
with:
47-
host: ${{ secrets.REMOTE_SERVER_HOST }}
48-
username: ${{ secrets.REMOTE_SERVER_USERNAME }}
49-
key: ${{ secrets.REMOTE_SERVER_SSH_KEY }}
50-
script: |
51-
cd root-web
52-
docker-compose pull rootlinjeforening.no
53-
docker-compose up -d
45+
uses: appleboy/ssh-action@master
46+
with:
47+
host: ${{ secrets.REMOTE_SERVER_HOST }}
48+
username: ${{ secrets.REMOTE_SERVER_USERNAME }}
49+
key: ${{ secrets.REMOTE_SERVER_SSH_KEY }}
50+
script: |
51+
cd root-web
52+
docker-compose pull rootlinjeforening.no
53+
docker-compose up -d

0 commit comments

Comments
 (0)