Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Guyungy authored Dec 14, 2024
1 parent b209b24 commit 3abbb8b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Simple workflow for deploying static content to GitHub Pages
# Workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
Expand All @@ -15,14 +15,12 @@ permissions:
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
# Ensure only one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
Expand All @@ -31,13 +29,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

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

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
# Only upload the content inside `.github/workflows`
path: '.github/workflows/'

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

0 comments on commit 3abbb8b

Please sign in to comment.