1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-01-03 10:25:00 +01:00

ci cleanup

This commit is contained in:
Matthias Kretschmann 2020-11-22 00:17:18 +01:00
parent f42ededb6f
commit 660faceaf9
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 1 additions and 29 deletions

View File

@ -79,7 +79,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/download-artifact@v1
with:
name: public
@ -88,26 +88,3 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
lighthouse:
needs: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Audit Beta using Lighthouse
if: success() && github.event_name == 'pull_request'
uses: treosh/lighthouse-ci-action@v2
with:
urls: 'https://beta.matthiaskretschmann.com'
configPath: './.github/workflows/lighthouserc.json'
temporaryPublicStorage: 'true'
- name: Audit Live using Lighthouse
if: success() && github.ref == 'refs/heads/main'
uses: treosh/lighthouse-ci-action@v2
with:
urls: 'https://matthiaskretschmann.com'
configPath: './.github/workflows/lighthouserc.json'
temporaryPublicStorage: 'true'

View File

@ -15,7 +15,6 @@
</p>
- [🎉 Features](#-features)
- [⛵️ Lighthouse score](#-lighthouse-score)
- [🗂 JSON Resume](#-json-resume)
- [💍 One data file to rule all pages](#-one-data-file-to-rule-all-pages)
- [🐱 GitHub repositories](#-github-repositories)
@ -42,10 +41,6 @@ The whole [portfolio](https://matthiaskretschmann.com) is a React-based single p
Most metadata is powered by one `resume.json` file based on [🗂 JSON Resume](#-json-resume), and one `projects.yml` file to [define the displayed projects](#-one-data-file-to-rule-all-pages).
### ⛵️ Lighthouse score
![Lighthouse scores](https://lighthouse.now.sh/?perf=100&pwa=100&a11y=100&bp=100&seo=100)
### 🗂 JSON Resume
Most site metadata and social profiles are defined in [`content/resume.json`](content/resume.json) based on the [JSON Resume](https://jsonresume.org) standard and used throughout the site as a custom React hook. Additionally, a resume page is created under `/resume`.