This commit is contained in:
parent
eceac74e8e
commit
e7453daa1a
@ -7,7 +7,6 @@ steps:
|
|||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: ghcr.io/uetchy/uechi.io
|
repo: ghcr.io/uetchy/uechi.io
|
||||||
cache_from: ghcr.io/uetchy/uechi.io:latest
|
|
||||||
tags: latest
|
tags: latest
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username:
|
username:
|
||||||
|
17
.github/dependabot.yml
vendored
17
.github/dependabot.yml
vendored
@ -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
|
|
45
.github/workflows/ci.yml
vendored
45
.github/workflows/ci.yml
vendored
@ -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
|
|
@ -1,6 +1,6 @@
|
|||||||
# uechi.io
|
# uechi.io
|
||||||
|
|
||||||
[](https://github.com/uetchy/uechi.io/actions?query=pages)
|
[](https://ci.uechi.io/uetchy/uechi.io)
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
@ -14,9 +14,4 @@ yarn build
|
|||||||
```bash
|
```bash
|
||||||
git commit -m "New article"
|
git commit -m "New article"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
# or
|
|
||||||
|
|
||||||
# brew install drone-cli
|
|
||||||
drone exec --secret-file .drone.secrets
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user