Skip to content

Commit

Permalink
Create static-site.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
markbattistella committed May 2, 2024
1 parent be9dbb0 commit 0177eeb
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/static-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Deploy website

on:
workflow_dispatch:
push:
branches:
- main

concurrency:
group: "pages"
cancel-in-progress: true

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

jobs:

deploy:
name: Deploy the website
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: './Documentation'

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

0 comments on commit 0177eeb

Please sign in to comment.