Skip to content

Commit

Permalink
ci: Adding semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaKhait committed Mar 14, 2024
1 parent 678e2ba commit 40f042a
Show file tree
Hide file tree
Showing 6 changed files with 18,566 additions and 8,707 deletions.
4 changes: 4 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VITE_BASE_URL='https://webconf.numerique.gouv.fr/wce-api'
VITE_JITSI_DOMAIN='appel.webconf.numerique.gouv.fr'
VITE_VOXAPI_URL='https://webconf.numerique.gouv.fr/voxapi/apiconf'
GENERATE_SOURCEMAP=false
4 changes: 4 additions & 0 deletions .env.staging
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VITE_BASE_URL='https://preprod.webconf.numerique.gouv.fr/wce-api'
VITE_JITSI_DOMAIN='appel.preprod.webconf.numerique.gouv.fr'
VITE_VOXAPI_URL='https://preprod.webconf.numerique.gouv.fr/voxapi/apiconf'
GENERATE_SOURCEMAP=false
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release

on:
push:

jobs:
release:
permissions:
contents: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- run: npm ci
- run: npm run build
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 40f042a

Please sign in to comment.