Skip to content

Commit

Permalink
update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas HIMPENS committed Jun 10, 2024
1 parent d70e142 commit c28c25f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4 #il sert a creer notre config pour github pages
with:
github_token: ${{ secrets.GITHUB_TOKEN }} #les workflow permissions qu’on a activé
publish_dir: ./src #fichiers qu’on va publier sur le serveur
- name: Install necessary packages
    run: npm install

- name: Run Lighthouse CI
uses: treosh/lighthouse-ci-action@v11
with:
url: "https://lucashimpens.io/jftl-lighthouse-workshop/"
configPath: './lighthouserc.js'
temporaryPublicStorage: true # upload lighthouse report to the temporary storage
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4 #il sert a creer notre config pour github pages
with:
github_token: ${{ secrets.GITHUB_TOKEN }} #les workflow permissions qu’on a activé
publish_dir: ./src #fichiers qu’on va publier sur le serveur

- name: Install necessary packages
run: npm install

- name: Run Lighthouse CI
uses: treosh/lighthouse-ci-action@v11
with:
url: "https://lucashimpens.io/jftl-lighthouse-workshop/"
configPath: './lighthouserc.js'
temporaryPublicStorage: true # upload lighthouse report to the temporary storage

0 comments on commit c28c25f

Please sign in to comment.