Skip to content

Add Magic UI

Add Magic UI #137

Workflow file for this run

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