mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-01-18 18:43:43 +00:00
Update workflows and README.md
This commit is contained in:
parent
d4cca6d6c1
commit
b5d0fa0a9e
8
.github/workflows/autoupdate.yml
vendored
8
.github/workflows/autoupdate.yml
vendored
@ -2,7 +2,7 @@ name: autoupdate
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * 6'
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
merge-upstream:
|
merge-upstream:
|
||||||
@ -11,12 +11,16 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Setup bot
|
||||||
|
run: |
|
||||||
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
git config --local user.name "github-actions"
|
||||||
- name: Add upstream repo
|
- name: Add upstream repo
|
||||||
run: git remote add upstream https://github.com/TryGhost/Casper.git
|
run: git remote add upstream https://github.com/TryGhost/Casper.git
|
||||||
- name: Checkout master
|
- name: Checkout master
|
||||||
run: git checkout master
|
run: git checkout master
|
||||||
- name: Merge upstream
|
- name: Merge upstream
|
||||||
run: git pull upstream main
|
run: git pull upstream main --tags
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
|
15
.github/workflows/deploy-theme.yml
vendored
15
.github/workflows/deploy-theme.yml
vendored
@ -1,15 +0,0 @@
|
|||||||
name: Deploy Theme
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-18.04
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: TryGhost/action-deploy-theme@v1.4.1
|
|
||||||
with:
|
|
||||||
api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
|
|
||||||
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
|
|
||||||
theme-name: "master"
|
|
@ -1,8 +1,8 @@
|
|||||||
# Casper-i18n
|
# Casper-i18n
|
||||||
|
|
||||||
[![Test](https://github.com/GenZmeY/Casper-i18n/workflows/Test/badge.svg)](https://github.com/GenZmeY/Casper-i18n/actions)
|
[[![Autoupdate](https://github.com/GenZmeY/Casper-i18n/actions/workflows/autoupdate.yml/badge.svg)](https://github.com/GenZmeY/Casper-i18n/actions/workflows/autoupdate.yml)
|
||||||
[![GitHub](https://img.shields.io/github/license/GenZmeY/Casper-i18n)](LICENSE)
|
|
||||||
[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/GenZmeY/Casper-i18n)](https://github.com/GenZmeY/Casper-i18n/tags)
|
[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/GenZmeY/Casper-i18n)](https://github.com/GenZmeY/Casper-i18n/tags)
|
||||||
|
[![GitHub](https://img.shields.io/github/license/GenZmeY/Casper-i18n)](LICENSE)
|
||||||
|
|
||||||
The same [casper](https://github.com/TryGhost/Casper), but with localization support.
|
The same [casper](https://github.com/TryGhost/Casper), but with localization support.
|
||||||
For more detailed information about theme, see the [casper page](https://github.com/TryGhost/Casper).
|
For more detailed information about theme, see the [casper page](https://github.com/TryGhost/Casper).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user