Skip to content

Commit

Permalink
fix gh-static-pages action (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrove-oss authored Oct 3, 2024
1 parent df57bfe commit 1089489
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/gh-pages-static.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# Simple workflow for deploying static content to GitHub Pages
# Workflow to invoke from another workflow to deploy static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["gh-pages"]

# Enable it to be invoked from other workflows
workflow_call:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Expand All @@ -22,7 +17,6 @@ concurrency:
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
Expand All @@ -31,6 +25,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: gh-pages
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
Expand Down

0 comments on commit 1089489

Please sign in to comment.