Skip to content

Commit

Permalink
Fix workflow issues (#128)
Browse files Browse the repository at this point in the history
* Fix workflow issues

* Add changelog

* Add origin fetch
  • Loading branch information
CJGlitter authored Feb 26, 2025
1 parent 79053ef commit 339d1d2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
run: cp test/support/index.html dist-app/

- name: Checkout gh-pages
run: git checkout gh-pages
run: |
git fetch origin gh-pages
git checkout gh-pages
- name: Add page to current directory
run: mv dist-app/* .
Expand All @@ -48,7 +50,7 @@ jobs:
run: git add restricted-input.js index.html

- name: Commit page
run: git commit -ve -m "Update demo page for restricted-input v${{ env.latest_version }}"
run: git commit -m "Update demo page for restricted-input v${{ env.latest_version }}"

- name: Push changes
run: git push
4 changes: 4 additions & 0 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
with:
node-version-file: .nvmrc

- run: |
git checkout main
git pull
- name: Get version
run: echo "latest_version=$(npm pkg get version --workspaces=false | tr -d \")" >> $GITHUB_ENV

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Restricted Input - Changelog

## unreleased

- Fix workflow errors

## 4.1.3 (2025-02-25)

- Update workflows and scripts
Expand Down

0 comments on commit 339d1d2

Please sign in to comment.