mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-10 02:28:02 +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:
|
||||
schedule:
|
||||
- cron: '0 0 * * 6'
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
merge-upstream:
|
||||
@ -11,12 +11,16 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
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
|
||||
run: git remote add upstream https://github.com/TryGhost/Casper.git
|
||||
- name: Checkout master
|
||||
run: git checkout master
|
||||
- name: Merge upstream
|
||||
run: git pull upstream main
|
||||
run: git pull upstream main --tags
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
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
|
||||
|
||||
[![Test](https://github.com/GenZmeY/Casper-i18n/workflows/Test/badge.svg)](https://github.com/GenZmeY/Casper-i18n/actions)
|
||||
[![GitHub](https://img.shields.io/github/license/GenZmeY/Casper-i18n)](LICENSE)
|
||||
[[![Autoupdate](https://github.com/GenZmeY/Casper-i18n/actions/workflows/autoupdate.yml/badge.svg)](https://github.com/GenZmeY/Casper-i18n/actions/workflows/autoupdate.yml)
|
||||
[![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.
|
||||
For more detailed information about theme, see the [casper page](https://github.com/TryGhost/Casper).
|
||||
|
Loading…
Reference in New Issue
Block a user