Skip to content

chore(main): release 6.72.0 #399

chore(main): release 6.72.0

chore(main): release 6.72.0 #399

name: Publish Workflow UI
on:
workflow_dispatch:
push:
branches:
- main
paths:
- site/plugins.json
pull_request:
types: [opened, synchronize, reopened]
branches-ignore:
- 'publish_workflow_ui_**'
jobs:
sync-to-repo:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Using Node.js
uses: actions/setup-node@v3
with:
node-version: '*'
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm install
- name: Setup git config
run: |
git config user.name 'token-generator-app[bot]'
git config user.email '82042599+token-generator-app[bot]@users.noreply.github.com'
- name: Generate GitHub token
uses: navikt/github-app-token-generator@v1.2.0
id: get-token
with:
private-key: ${{ secrets.TOKENS_PRIVATE_KEY }}
app-id: ${{ secrets.TOKENS_APP_ID }}
- name: Upload Workflow UI files
env:
GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}
run: bin/publish_workflow_ui.sh