Update workflows and README.md

This commit is contained in:
2022-03-09 06:12:12 +03:00
parent d4cca6d6c1
commit b5d0fa0a9e
3 changed files with 8 additions and 19 deletions

View File

@ -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:

View File

@ -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"