Skip to content

Commit

Permalink
Rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
Anduin2017 authored Nov 27, 2023
1 parent 9082df4 commit d21c092
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,14 @@ on:
branches: [ master ]
workflow_dispatch:

permissions:
contents: write

jobs:
Rebuild-everything:
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v3
# Checkout, install tools..
- uses: actions/checkout@v2
with:
persist-credentials: 'true'
token: ${{ secrets.PAT }}
- uses: actions/setup-node@v2
with:
node-version: '16'
Expand All @@ -34,13 +31,14 @@ jobs:
- run: ./node_modules/.bin/textlint . --fix
- run: rm ./node_modules -rvf
# Save files.
- name: Push changes
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git add .
git commit -m "[ci skip] Automatic file changes/fix v2"
git push
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: '[ci skip] Automatic file changes/fix'
branch: 'master'
file_pattern: ':/*.*'
commit_user_name: github-actions[bot]
commit_user_email: github-actions[bot]@users.noreply.github.com
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
# Build docs
- run: echo cook.aiurs.co > CNAME
- run: mkdir docs && echo cook.aiurs.co > docs/CNAME
Expand Down

0 comments on commit d21c092

Please sign in to comment.