-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make manifest.json available for use from browsers (#52)
- Loading branch information
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,9 @@ jobs: | |
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Build manifest | ||
run: ./_build/publish.js | ||
# Create new release tagged as latest, and overwrite last one. | ||
|
@@ -21,3 +23,14 @@ jobs: | |
prerelease: false | ||
title: "Automatic release" | ||
files: manifest.json | ||
|
||
# Would like a version of manifest.json that is usable from browsers | ||
# for grist-static. CORS wildcard is not set on releases, but is set | ||
# on github pages. Also jsdelivr can mirror branches, but not releases. | ||
- name: Make a release branch that includes manifest.json | ||
run: | | ||
git config user.name "Paul's Grist Bot" | ||
git config user.email "<[email protected]>" | ||
git add -f manifest.json | ||
git commit -m "add manifest.json" -a | ||
git push --set-upstream origin HEAD:release -f |