diff --git a/.github/workflows/actions.sh b/.github/workflows/actions.sh deleted file mode 100644 index fb2ac67..0000000 --- a/.github/workflows/actions.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash - -YELLOW='\033[1;33m' -RED='\033[1;31m' -NC='\033[0m' # No Color - - -printf "${YELLOW}| :::::::::: ${NC}\n" -bash tools/generate.sh -echo "" - -git config --global user.email "github-actions[bot]@github.com" -git config --global user.name "github-actions[bot]" -echo "" - - -printf "${YELLOW}| :::::::::: ${NC}\n" -git add . -git commit -m "------- Generate themes.json -------" -git push -echo "" - - -printf "${YELLOW}| :::::::::: ${NC}\n" -git status -echo "" diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 4dc3ec7..608c9ac 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -12,10 +12,12 @@ jobs: name: Lint with ESLint runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - name: Run bash script - run: | - chmod +x /github/workspace/.github/workflows/actions.sh - /github/workspace/.github/workflows/actions.sh + - uses: actions/checkout@v2 + - run: | + git config user.name github-actions[bot] + git config user.email github-actions[bot]@github.com + git add . + git commit -m "------- Generate themes.json -------" + git push