Remove actions

This commit is contained in:
Romein van Buren 2025-01-18 11:31:34 +01:00
parent 60f7fe858b
commit 05753f9144
No known key found for this signature in database
3 changed files with 0 additions and 49 deletions

View File

@ -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

5
deploy
View File

@ -1,5 +0,0 @@
#!/bin/sh
npm run build
scp -r content/.vitepress/dist/* s01.smartyellow.net:/srv/hpg.romein.me

View File

@ -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;"]