ci: Add Gitea workflow to build, package, upload, and release the Firefox extension.
This commit is contained in:
@@ -13,6 +13,9 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
container:
|
||||
image: node:20-alpine
|
||||
steps:
|
||||
@@ -54,7 +57,7 @@ jobs:
|
||||
- name: Upload to Gitea Packages
|
||||
run: |
|
||||
curl --fail \
|
||||
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
||||
-H "Authorization: token ${{ secrets.ACCESS_TOKEN }}" \
|
||||
--upload-file "build/container-bookmarks-${{ steps.version.outputs.version }}.xpi" \
|
||||
"${GITHUB_SERVER_URL}/api/packages/${GITHUB_REPOSITORY_OWNER}/generic/container-bookmarks/${{ steps.version.outputs.version }}/container-bookmarks-${{ steps.version.outputs.version }}.xpi"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user