Skip to content

Commit cc6f4b5

Browse files
Merge branch 'main' into studio->root
2 parents d010ab5 + 7c9bd7c commit cc6f4b5

2 files changed

Lines changed: 2 additions & 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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"private": true,
55
"scripts": {
66
"preinstall": "npx only-allow pnpm",
7+
"postinstall": "next telemetry disable",
78
"dev": "next dev",
89
"build": "next build",
910
"start": "next start",

0 commit comments

Comments
 (0)