Skip to content

Commit

Permalink
CI - fix release job
Browse files Browse the repository at this point in the history
  • Loading branch information
lwih committed Feb 20, 2024
1 parent 2581299 commit 50c1740
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "[Release] Mirror push to gitlab"

on:
push:
branches: [ "main" ]
# push:
# branches: [ "main" ]
release:
types: [ published ]
workflow_dispatch:
Expand All @@ -19,20 +19,20 @@ jobs:
with:
fetch-depth: 0

# - name: Get frontend version
# uses: avides/[email protected]
# id: frontend_version
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# file-to-check: frontend/package.json
# only-return-version: true
#
# - name: Upload Frontend sourcemaps
# uses: ./.github/actions/upload-sourcemaps
# with:
# SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
# VERSION: ${{ steps.frontend_version.outputs.version }}
#test
- name: Get frontend version
uses: avides/[email protected]
id: frontend_version
with:
token: ${{ secrets.GITHUB_TOKEN }}
file-to-check: frontend/package.json
only-return-version: true

- name: Upload Frontend sourcemaps
uses: ./.github/actions/upload-sourcemaps
with:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
VERSION: ${{ steps.frontend_version.outputs.version }}

- uses: yesolutions/mirror-action@master
with:
REMOTE: https://gitlab-sml.din.developpement-durable.gouv.fr/rapportnav-v2/rapportnav_v2.git
Expand Down

0 comments on commit 50c1740

Please sign in to comment.