mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-01-18 08:26:09 +01:00
ci cleanup
This commit is contained in:
parent
f42ededb6f
commit
660faceaf9
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
@ -79,7 +79,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v1
|
- uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: public
|
name: public
|
||||||
@ -88,26 +88,3 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
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'
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
- [🎉 Features](#-features)
|
- [🎉 Features](#-features)
|
||||||
- [⛵️ Lighthouse score](#️-lighthouse-score)
|
|
||||||
- [🗂 JSON Resume](#-json-resume)
|
- [🗂 JSON Resume](#-json-resume)
|
||||||
- [💍 One data file to rule all pages](#-one-data-file-to-rule-all-pages)
|
- [💍 One data file to rule all pages](#-one-data-file-to-rule-all-pages)
|
||||||
- [🐱 GitHub repositories](#-github-repositories)
|
- [🐱 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).
|
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
|
### 🗂 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`.
|
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`.
|
||||||
|
Loading…
Reference in New Issue
Block a user