Skip to content

Create static.yml

Create static.yml #1

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Deploy static website
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
environment:
name: website
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup website
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: '.'
- name: Deploy
id: deployment
uses: actions/deploy-pages@v1