1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

add github action use only checkout v2

This commit is contained in:
Mayccoll 2021-01-23 11:44:30 -05:00
parent e6f0f53871
commit 4e1ca0c03f
2 changed files with 7 additions and 31 deletions

View File

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

View File

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