Skip to content

Flyttet markdown-filer fra /doc til /src #10

Flyttet markdown-filer fra /doc til /src

Flyttet markdown-filer fra /doc til /src #10

name: Test NVE Designsystem dokumentasjon side
on:
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- main
paths:
- 'src/**'
- 'docs-vue/**'
jobs:
# Run when a pull request is created or updated
call-reusable-workflow:
uses: ./azure-static-web-app-vue-build-reusable.yml
with:
node_version: '20'
app_location: 'docs-vue'
output_location: 'dist'
secrets: inherit

Check failure on line 21 in .github/workflows/azure-static-web-app-docs-vue-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/azure-static-web-app-docs-vue-test.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
action: 'close'