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:
parent
e6f0f53871
commit
4e1ca0c03f
26
.github/workflows/actions.sh
vendored
26
.github/workflows/actions.sh
vendored
@ -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 ""
|
12
.github/workflows/actions.yml
vendored
12
.github/workflows/actions.yml
vendored
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user