mirror of
https://github.com/betagouv/mon-entreprise
synced 2025-02-09 22:45:01 +00:00
chore: met à jour les actions dépréciées
This commit is contained in:
parent
be527e9a17
commit
d012352fae
1 changed files with 7 additions and 7 deletions
14
.github/workflows/deploy.yaml
vendored
14
.github/workflows/deploy.yaml
vendored
|
@ -88,7 +88,7 @@ jobs:
|
|||
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}
|
||||
ALGOLIA_SEARCH_KEY: ${{secrets.ALGOLIA_SEARCH_KEY}}
|
||||
ALGOLIA_INDEX_PREFIX: monentreprise-${{needs.deploy-context.outputs.env-name}}-
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: static-site
|
||||
path: |
|
||||
|
@ -115,7 +115,7 @@ jobs:
|
|||
CRISP_WEBSITE_ID: ${{ secrets.CRISP_WEBSITE_ID }}
|
||||
- name: Build Storybook
|
||||
run: yarn workspace site build:storybook
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: static-storybook
|
||||
path: |
|
||||
|
@ -129,7 +129,7 @@ jobs:
|
|||
- uses: ./.github/actions/install
|
||||
- name: Build API
|
||||
run: yarn workspace api build
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: static-api
|
||||
path: |
|
||||
|
@ -145,10 +145,10 @@ jobs:
|
|||
site: ['', 'en']
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: static-site
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: static-storybook
|
||||
path: dist/dev/storybook
|
||||
|
@ -179,10 +179,10 @@ jobs:
|
|||
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && needs.deploy-context.outputs.env-name == 'master'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: static-site
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: static-storybook
|
||||
path: dist/dev/storybook
|
||||
|
|
Loading…
Add table
Reference in a new issue