Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Mar 25, 2021
1 parent d552fe5 commit d3c35b8
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 52 deletions.
104 changes: 53 additions & 51 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ jobs:
with:
name: build
path: build
#- run: yarn --frozen-lockfile
#- run: npx build-keycloak-theme --external-assets
- run: npx -y -p keycloakify@$VER build-keycloak-theme --external-assets
env:
VER: ${{ needs.test.outputs.keycloakify_version }}
Expand All @@ -130,6 +128,26 @@ jobs:
name: keycloak_theme
path: build_keycloak/target/*keycloak-theme*.jar

deploy_on_gh_pages:
needs:
- check_if_version_upgraded
- test
if: ${{ needs.check_if_version_upgraded.outputs.is_upgraded_version == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: build
path: build
- uses: actions/[email protected]
with:
node-version: '15'
- 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 build -u "github-actions-bot <[email protected]>"

update_changelog:
name: Update CHANGELOG.md
runs-on: ubuntu-latest
Expand Down Expand Up @@ -183,53 +201,37 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

deploy_on_gh_pages:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: build
path: build
- uses: actions/[email protected]
with:
node-version: '15'
- 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 build -u "github-actions-bot <[email protected]>"

debug:
runs-on: ubuntu-latest
steps:
- name: Show envs
run: env
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJSON(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJSON(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: echo "$MATRIX_CONTEXT"
- name: Dump secret context
env:
SECRETS_CONTEXT: ${{ toJSON(secrets) }}
run: echo "$SECRETS_CONTEXT"
#debug:
# runs-on: ubuntu-latest
# steps:
# - name: Show envs
# run: env
# - name: Dump GitHub context
# env:
# GITHUB_CONTEXT: ${{ toJSON(github) }}
# run: echo "$GITHUB_CONTEXT"
# - name: Dump job context
# env:
# JOB_CONTEXT: ${{ toJSON(job) }}
# run: echo "$JOB_CONTEXT"
# - name: Dump steps context
# env:
# STEPS_CONTEXT: ${{ toJSON(steps) }}
# run: echo "$STEPS_CONTEXT"
# - name: Dump runner context
# env:
# RUNNER_CONTEXT: ${{ toJSON(runner) }}
# run: echo "$RUNNER_CONTEXT"
# - name: Dump strategy context
# env:
# STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
# run: echo "$STRATEGY_CONTEXT"
# - name: Dump matrix context
# env:
# MATRIX_CONTEXT: ${{ toJSON(matrix) }}
# run: echo "$MATRIX_CONTEXT"
# - name: Dump secret context
# env:
# SECRETS_CONTEXT: ${{ toJSON(secrets) }}
# run: echo "$SECRETS_CONTEXT"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"homepage": "https://garronej.github.io/keycloakify-demo-app",
"name": "keycloakify-demo-app",
"version": "0.2.4",
"version": "0.2.5",
"description": "A demo project for keycloakify",
"repository": {
"type": "git",
Expand Down

0 comments on commit d3c35b8

Please sign in to comment.