Skip to content

Commit

Permalink
CI - clean code other mirror action
Browse files Browse the repository at this point in the history
  • Loading branch information
lwih committed Jan 31, 2024
1 parent 547445a commit 654030a
Showing 1 changed file with 13 additions and 30 deletions.
43 changes: 13 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ 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 }}
- 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:
Expand All @@ -43,20 +43,3 @@ jobs:
GIT_PUSH_ARGS: "--tags --prune"
PUSH_ALL_REFS: false
DEBUG: true

# - name: Mirror + trigger CI
# uses: SvanBoxel/gitlab-mirror-and-ci-action@master
# with:
# args: https://gitlab-sml.din.developpement-durable.gouv.fr/num3-exploitation/deploiement-continu/gitlab-ci/applications/rapportnav-v2/rapportnav-v2.git
# env:
# FOLLOW_TAGS: true
# FORCE_PUSH: true
# GITLAB_HOSTNAME: "gitlab-sml.din.developpement-durable.gouv.fr"
# GITLAB_USERNAME: ${{ github.actor }}
# GITLAB_PASSWORD: ${{ secrets.GITLAB_MIRROR_TOKEN }}
# GITLAB_PROJECT_ID: "num3-exploitation/deploiement-continu"
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}




0 comments on commit 654030a

Please sign in to comment.