doc: Update README #167
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| website: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| registry-url: 'https://registry.npmjs.org' | |
| - run: npm install | |
| - run: npm run build | |
| - name: Generate Contributors Images | |
| uses: jaywcjlove/github-action-contributors@main | |
| with: | |
| filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\]) | |
| output: ./dist/CONTRIBUTORS.svg | |
| avatarSize: 36 | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| user_name: 'github-actions[bot]' | |
| user_email: 'github-actions[bot]@users.noreply.github.com' | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./dist | |
| # Create Docker Image | |
| - name: Docker login | |
| run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }} | |
| - name: Build awesome-uikit image | |
| run: docker image build -t awesome-uikit . | |
| - name: Tags & Push image | |
| run: | | |
| docker tag awesome-uikit ${{ secrets.DOCKER_USER }}/awesome-uikit:latest | |
| docker push ${{ secrets.DOCKER_USER }}/awesome-uikit:latest | |
| # # Create Docker Image in Github | |
| # - name: Login to GitHub registry | |
| # run: echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin | |
| # - name: Build docker image | |
| # run: docker build -t ghcr.io/jaywcjlove/awesome-uikit:latest . | |
| # - name: Publish to GitHub registry | |
| # run: docker push ghcr.io/jaywcjlove/awesome-uikit:latest |