Rollback
This commit is contained in:
parent
9082df40eb
commit
d21c09226e
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
|
@ -5,17 +5,14 @@ on:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Rebuild-everything:
|
Rebuild-everything:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
# Checkout, install tools..
|
||||||
uses: actions/checkout@v3
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
persist-credentials: 'true'
|
token: ${{ secrets.PAT }}
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
node-version: '16'
|
||||||
|
@ -34,13 +31,14 @@ jobs:
|
||||||
- run: ./node_modules/.bin/textlint . --fix
|
- run: ./node_modules/.bin/textlint . --fix
|
||||||
- run: rm ./node_modules -rvf
|
- run: rm ./node_modules -rvf
|
||||||
# Save files.
|
# Save files.
|
||||||
- name: Push changes
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
run: |
|
with:
|
||||||
git config user.name github-actions[bot]
|
commit_message: '[ci skip] Automatic file changes/fix'
|
||||||
git config user.email github-actions[bot]@users.noreply.github.com
|
branch: 'master'
|
||||||
git add .
|
file_pattern: ':/*.*'
|
||||||
git commit -m "[ci skip] Automatic file changes/fix v2"
|
commit_user_name: github-actions[bot]
|
||||||
git push
|
commit_user_email: github-actions[bot]@users.noreply.github.com
|
||||||
|
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
||||||
# Build docs
|
# Build docs
|
||||||
- run: echo cook.aiurs.co > CNAME
|
- run: echo cook.aiurs.co > CNAME
|
||||||
- run: mkdir docs && echo cook.aiurs.co > docs/CNAME
|
- run: mkdir docs && echo cook.aiurs.co > docs/CNAME
|
||||||
|
|
Loading…
Reference in New Issue
Block a user