Skip to content

Commit

Permalink
Merge pull request #21 from Artsdatabanken/fix/artifact-name
Browse files Browse the repository at this point in the history
Bruk repo navn på releasen for å få unike navn ved nedlasting
  • Loading branch information
stigat committed Sep 14, 2023
2 parents 9af719e + af3820c commit a0dfeba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ cp build/fylke.json destinationRepo/
cp build/fylke.schema.json destinationRepo/
cp build/kommune.json destinationRepo/
cp build/kommune.schema.json destinationRepo/
tar czf artifacts.tar -C build .
tar czf $(basename $GITHUB_REPOSITORY).tar.gz -C build .
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: "artifacts.tar"
artifacts: "${{ $(basename $GITHUB_REPOSITORY) }}.tar.gz"
tag: v_${{ github.run_number }}
workflow_dispatch:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a0dfeba

Please sign in to comment.