feat: added Next.js runtime 4.40.1 behind a feature flag (#1252) #410
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |