Skip to content

Merge pull request #21 from Artsdatabanken/fix/artifact-name #225

Merge pull request #21 from Artsdatabanken/fix/artifact-name

Merge pull request #21 from Artsdatabanken/fix/artifact-name #225

Workflow file for this run

name: build and publish kommune
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
- run: npm install
- run: npm update
- run: npm run download
- run: npm run transform
- name: Check downloaded files
run: ./.github/workflows/filecheck.sh
- name: Checkout
uses: actions/checkout@v3
with:
path: "./destinationRepo"
token: ${{secrets.PUSH_TOKEN}}
- name: Run deployment script
run: ./.github/workflows/deploy.sh
shell: bash
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: "${{ $(basename $GITHUB_REPOSITORY) }}.tar.gz"

Check failure on line 34 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / build and publish kommune

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 34, Col: 22): Unexpected symbol: '$'. Located at position 1 within expression: $(basename $GITHUB_REPOSITORY)
tag: v_${{ github.run_number }}
workflow_dispatch:
runs-on: ubuntu-latest
steps:
- name: Fyrer NiN
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PAT }}
repository: artsdatabanken/nin-data-lastejobb
event-type: fra_kommune