Skip to content

https://github.com/keycloakify/keycloakify-starter/issues/27 #20

https://github.com/keycloakify/keycloakify-starter/issues/27

https://github.com/keycloakify/keycloakify-starter/issues/27 #20

Workflow file for this run

on:
push:
branches:
- main
jobs:
deploy_on_gh_pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
- uses: bahmutov/npm-install@v1
- run: yarn build
- run: echo $(node -e 'console.log(require("url").parse(require("./package.json").homepage).host)') > dist/CNAME
- run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npx -y -p [email protected] gh-pages -d dist -u "github-actions-bot <[email protected]>"