diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..51a7909 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +end_of_line = lf +indent_style = space +indent_size = 4 +insert_final_newline = true + +[*.html] +indent_size = 2 + +[*.css] +indent_size = 2 diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index d96567c..4c55531 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,19 +3,39 @@ name: Build & Push Docker Image on: push jobs: - build-and-push: - runs-on: ubuntu-latest - container: - image: catthehacker/ubuntu:act-latest - steps: - - name: Log in to the Container registry - uses: docker/login-action@v3 - with: - registry: registry.gitlab.com/severinkaderli/registry - username: ${{ secrets.REGISTRY_USER }} - password: ${{ secrets.REGISTRY_TOKEN }} - - name: Build and push - uses: docker/build-push-action@v5 - with: - push: true - tags: registry.gitlab.com/severinkaderli/registry:home.kaderli.dev \ No newline at end of file + check-format: + name: Check formatting + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: 20 + registry-url: https://git.kaderli.dev/api/packages/severinkaderli/npm/ + + - name: Install dependencies + run: npm ci + + - name: Check formatting + run: npm run format:check + + build-and-push-docker-image: + name: Build & Push Docker Image + runs-on: ubuntu-latest + container: + image: catthehacker/ubuntu:act-latest + steps: + - name: Log in to the Container registry + uses: docker/login-action@v3 + with: + registry: registry.gitlab.com/severinkaderli/registry + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_TOKEN }} + - name: Build and push + uses: docker/build-push-action@v5 + with: + push: true + tags: registry.gitlab.com/severinkaderli/registry:home.kaderli.dev diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1fe1b00 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea/ +node_modules/ diff --git a/index.html b/index.html index 883d285..b6a078c 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + @@ -78,9 +78,7 @@

Social