Skip to content

Commit

Permalink
Updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
SunDevil311 committed Jan 28, 2025
1 parent 5059fcd commit 422195d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/upload-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
name: Deploy static content to Pages

on:
workflow_run:
workflows: ["Build/Test Webpack, Publish to GitHub Packages"]
types:
- completed
# workflow_run:
# workflows: ["Build/Test Webpack, Publish to GitHub Packages"]
# types:
# - completed
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/upload-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
name: Deploy static content to Pages

on:
workflow_run:
workflows: ["Build/Test Webpack, Publish to npm"]
types:
- completed
# workflow_run:
# workflows: ["Build/Test Webpack, Publish to npm"]
# types:
# - completed
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Expand All @@ -34,7 +34,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@

# Simple workflow for deploying static content to GitHub pages

name: Deploy static content to Pages
name: Deploy static content from ./dist to Pages

on:
workflow_run:
workflows: ["Build/Test Webpack, Publish to GitHub Packages and npmjs"]
workflows:
[
"Build/Test Webpack, Publish to npm",
"Build/Test Webpack, Publish to GitHub Packages",
]
types:
- completed
workflow_dispatch:
Expand Down

0 comments on commit 422195d

Please sign in to comment.