Skip to content

Commit

Permalink
Update default.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dnischeta authored Jun 7, 2024
1 parent 99563a5 commit 2d7d205
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write


jobs:
build:
Expand All @@ -33,6 +30,25 @@ jobs:
npm run build
- name: Deploy 🚀
uses: actions/deploy-pages@v4.0.5
uses: actions/upload-pages-artifact@v3.0.1
with:
artifact_name: docs # The folder the action should deploy.
pats: docs/

deploy:
needs: build

runs-on: ubuntu-latest

permissions:
contents: read
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 2d7d205

Please sign in to comment.