Skip to content

Commit

Permalink
feat: deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaum31 committed Dec 10, 2024
1 parent 1c3f9a6 commit 2206e6c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

name: Deploy to GitHub Pages

on:
push:
branches: [ main ]
workflow_dispatch:

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

jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

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

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '.'

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

0 comments on commit 2206e6c

Please sign in to comment.