Skip to content

Commit

Permalink
Correct deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
smimram committed Aug 29, 2023
1 parent b33e039 commit 9fb99e7
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ jobs:
run: git clone -b metrics https://github.com/savonet/liquidsoap.git /tmp/metrics
- name: Generate metrics
run: opam exec -- metrics -i /tmp/metrics -o metrics.html
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: metrics
path: metrics.html
- name: Generate website
run: |
mkdir website
Expand All @@ -36,5 +31,16 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
path: website
- name: Deploy pages
uses: actions/deploy-pages@v2
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 9fb99e7

Please sign in to comment.