Skip to content

Commit eb570d8

Browse files
authored
Remove server step from deployment action (#198)
yippee
1 parent a414bea commit eb570d8

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# This workflow will build a .NET project
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3-
4-
name: Frontend Build and Push to DockerHub
1+
name: Deploy
52

63
on:
74
push:
@@ -35,19 +32,3 @@ jobs:
3532
tags: fribyte/root-website:latest
3633
build-args: |
3734
APP_BUILD_DATE=${{ github.event.repository.updated_at}}
38-
deploy_to_remote_server:
39-
name: SSH to server and pull new image
40-
needs: push_to_registry
41-
runs-on: ubuntu-latest
42-
43-
steps:
44-
- name: Deploy to Remote Server
45-
uses: appleboy/ssh-action@master
46-
with:
47-
host: ${{ secrets.HOST }}
48-
username: ${{ secrets.USERNAME }}
49-
key: ${{ secrets.KEY }}
50-
script: |
51-
cd root-web
52-
docker compose pull rootlinjeforening.no
53-
docker compose up -d

0 commit comments

Comments
 (0)