Skip to content

Commit

Permalink
HF : hotfix pour publication release 3.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
elias75015 committed Aug 30, 2023
2 parents ae24d60 + e83e1ac commit 69817b9
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
tags:
- '*'

permissions: write-all

jobs:

build:
Expand Down Expand Up @@ -174,7 +176,7 @@ jobs:
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ADMIN_GEOPORTAL_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
Expand All @@ -195,7 +197,7 @@ jobs:
- name: Upload Release Asset (bundles) # FIXME inutile ?
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ADMIN_GEOPORTAL_TOKEN}}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bundles.zip
Expand All @@ -205,7 +207,7 @@ jobs:
- name: Upload Release Asset (1)
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ADMIN_GEOPORTAL_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./GpServices.js
Expand All @@ -215,7 +217,7 @@ jobs:
- name: Upload Release Asset (2)
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ADMIN_GEOPORTAL_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./GpServices-src.js
Expand All @@ -225,7 +227,7 @@ jobs:
- name: Upload Release Asset (3)
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ADMIN_GEOPORTAL_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./GpServices-map.js
Expand Down Expand Up @@ -267,6 +269,7 @@ jobs:
if: github.event_name == 'push' && contains(github.ref, '/tags/') # Only for tags !
needs: publish_package
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 69817b9

Please sign in to comment.