diff --git a/.drone.yml b/.drone.yml index 4d933db..7d5d941 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,6 @@ steps: image: plugins/docker settings: repo: ghcr.io/uetchy/uechi.io - cache_from: ghcr.io/uetchy/uechi.io:latest tags: latest registry: ghcr.io username: diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 46e2610..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,17 +0,0 @@ -version: 2 -updates: -- package-ecosystem: npm - directory: "/" - schedule: - interval: monthly - time: "20:00" - timezone: Asia/Tokyo - open-pull-requests-limit: 10 - ignore: - - dependency-name: textlint - versions: - - 11.7.7 - - 11.8.1 - - dependency-name: textlint-rule-no-dropping-the-ra - versions: - - 2.0.0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index cc340fa..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,45 +0,0 @@ -# https://hexo.io/docs/github-pages.html -# https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#github-cache -name: ci - -on: - push: - branches: - - master - -jobs: - buildAndPush: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - # - name: Set up QEMU - # uses: docker/setup-qemu-action@v1 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to GitHub Container Registry - uses: docker/login-action@v1 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push - id: docker_build - uses: docker/build-push-action@v2 - with: - context: . - push: true - tags: ghcr.io/uetchy/uechi.io:latest - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Image digest - run: echo ${{ steps.docker_build.outputs.digest }} - - - name: Trigger Watchtower Update - run: | - curl -s -H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" https://watchtower.uechi.dev/v1/update diff --git a/README.md b/README.md index fcf8bc6..97b06e0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # uechi.io -[![Actions Status: pages](https://github.com/uetchy/uechi.io/workflows/Pages/badge.svg)](https://github.com/uetchy/uechi.io/actions?query=pages) +[![Build Status](https://ci.uechi.io/api/badges/uetchy/uechi.io/status.svg)](https://ci.uechi.io/uetchy/uechi.io) ## Build @@ -14,9 +14,4 @@ yarn build ```bash git commit -m "New article" git push - -# or - -# brew install drone-cli -drone exec --secret-file .drone.secrets ```