diff options
author | 2024-06-06 01:44:57 +0200 | |
---|---|---|
committer | 2024-06-06 01:44:57 +0200 | |
commit | 030836d5346b46effe2019f25c182681873a0996 (patch) | |
tree | 7ae17717575db5f9c179e9125338b2932bae236f /.github | |
parent | Bump version (diff) |
Migrate to keycloakify 10
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yaml | 49 |
1 files changed, 1 insertions, 48 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 11a205f..7f51c0f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: to_version: ${{ steps.step1.outputs.to_version }} is_upgraded_version: ${{ steps.step1.outputs.is_upgraded_version }} steps: - - uses: garronej/[email protected] + - uses: garronej/[email protected] id: step1 with: action_name: is_package_json_version_upgraded @@ -60,50 +60,3 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - docker: - runs-on: ubuntu-latest - needs: - - check_if_version_upgraded - - create_github_release - steps: - - uses: actions/checkout@v2 - - uses: docker/setup-qemu-action@v1 - - uses: docker/setup-buildx-action@v1 - - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Computing Docker image tags - id: step1 - env: - IS_UPGRADED_VERSION: ${{ needs.check_if_version_upgraded.outputs.is_upgraded_version }} - TO_VERSION: ${{ needs.check_if_version_upgraded.outputs.to_version }} - run: | - OUT=$GITHUB_REPOSITORY:$TO_VERSION,$GITHUB_REPOSITORY:latest - OUT=$(echo "$OUT" | awk '{print tolower($0)}') - echo ::set-output name=docker_tags::$OUT - - uses: docker/build-push-action@v2 - with: - push: true - context: . - tags: ${{ steps.step1.outputs.docker_tags }} - - github_pages: - runs-on: ubuntu-latest - needs: - - create_github_release - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - - uses: bahmutov/npm-install@v1 - - run: yarn build - # We tell GitHub pages that our package.json["homepage"] field is our domain name. - # If you wish to use the default GitHub pages domain name, like https://<username>.github.io/<repo>, - # you'll have to use base: "/repo/" in your vite.config.ts. - - 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 }} - - uses: actions/[email protected] - - run: npx -y -p [email protected] gh-pages -u "github-actions-bot <[email protected]>" -d dist - |