From 05753f9144974d4fcb4eeac61805727caf2b9dc6 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Sat, 18 Jan 2025 11:31:34 +0100 Subject: [PATCH] Remove actions --- .github/workflows/build.yml | 31 ------------------------------- deploy | 5 ----- dockerfile | 13 ------------- 3 files changed, 49 deletions(-) delete mode 100644 .github/workflows/build.yml delete mode 100755 deploy delete mode 100644 dockerfile diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 3e6051c..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Build - -on: - push: - branches: [ main ] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - with: - lfs: true - - - uses: docker/setup-buildx-action@v1 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - registry: code.smartyellow.net - username: ${{ github.actor }} - password: ${{ secrets.PACKAGE_TOKEN }} - - - name: Build - run: | - docker build . -t code.smartyellow.net/romein/hpg-site - - - name: Push - run: | - docker push code.smartyellow.net/romein/hpg-site diff --git a/deploy b/deploy deleted file mode 100755 index dd59496..0000000 --- a/deploy +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -npm run build - -scp -r content/.vitepress/dist/* s01.smartyellow.net:/srv/hpg.romein.me diff --git a/dockerfile b/dockerfile deleted file mode 100644 index 622cdce..0000000 --- a/dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM node:16-alpine AS build -WORKDIR /app -COPY package*.json ./ -RUN npm install -COPY . . -RUN npm run build - -FROM nginx:alpine -COPY nginx.conf /etc/nginx/nginx.conf -WORKDIR /usr/share/nginx/html -COPY --from=build /app/content/.vitepress/dist . - -ENTRYPOINT ["nginx", "-g", "daemon off;"]