Skip to content

Commit

Permalink
fix: invalid workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gavanier committed Nov 22, 2023
1 parent bc2568d commit 063d894
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/nightly-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,18 @@ jobs:
- name: Deduplicate
run: yarn dedupliquer.cartographie-nationale

publish:
publish-to-s3:
name: Get lieux from API and publish to S3
runs-on: ubuntu-latest
needs: deduplicate
needs:
- deduplicate
steps:
- name: Prepare lieux inclusion numerique file
run: |
mkdir mkdir -p client-application/assets/data
curl https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique | gunzip >> ./client-application/assets/data/lieux-inclusion-numerique.json
- name: Publish on S3
- name: Publish to S3
uses: kersvers/s3-sync-with-cloudfront-invalidation@v1.0.0
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,18 @@ jobs:
- name: Deduplicate
run: yarn dedupliquer.cartographie-nationale

publish:
publish-to-s3:
name: Get lieux from API and publish to S3
runs-on: ubuntu-latest
needs: deduplicate
needs:
- deduplicate
steps:
- name: Prepare lieux inclusion numerique file
run: |
mkdir mkdir -p client-application/assets/data
curl https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique | gunzip >> ./client-application/assets/data/lieux-inclusion-numerique.json
- name: Publish on S3
- name: Publish to S3
uses: kersvers/s3-sync-with-cloudfront-invalidation@v1.0.0
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit 063d894

Please sign in to comment.