Skip to content

Commit

Permalink
Pin actions/upload-pages-artifact to v2 (#38)
Browse files Browse the repository at this point in the history
* fix: upload step

* revert `upload-pages-artifact` to v2

* fix: automate release action
  • Loading branch information
natemoo-re committed Jan 3, 2024
1 parent 9951d5d commit 9a7959a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release
on:
release:
types: [edited]
types: [released, edited]
workflow_dispatch:
inputs:
TAG_NAME:
Expand Down
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ runs:
run: $PACKAGE_MANAGER run build

- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v3
# Must use v2 to avoid requiring `actions/deploy-pages@v4` or newer
uses: actions/upload-pages-artifact@v2
with:
path: "${{ inputs.path }}/dist"
path: "${{ inputs.path }}/dist/"

0 comments on commit 9a7959a

Please sign in to comment.