Skip to content

doc: Update README.md #111

doc: Update README.md

doc: Update README.md #111

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
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@v3
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