fix(ci): stage changed colors

This commit is contained in:
Michael Chris Lopez
2021-11-11 15:22:40 +08:00
parent 07f4c36b35
commit 1529ba3412

View File

@@ -38,13 +38,13 @@ jobs:
- name: Run builder script - name: Run builder script
run: | run: |
mkdir -p autoload/lightline/colorscheme autoload/zenbones/generated lua/lualine extras mkdir -p autoload/lightline/colorscheme colors/ lua/lualine extras
make make
- name: Create PR - name: Create PR
run: | run: |
if ! [[ -z $(git status -s) ]]; then if ! [[ -z $(git status -s) ]]; then
git add autoload/lightline/colorscheme/ autoload/zenbones/generated lua/lualine/ extras/ git add autoload/lightline/colorscheme/ colors/ lua/lualine/ extras/
git commit -m "chore: rebuild artifacts" git commit -m "chore: rebuild artifacts"
git push --force https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} ${BUILD_BRANCH} git push --force https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} ${BUILD_BRANCH}
gh pr create --fill --base ${GITHUB_REF#refs/heads/} --head ${BUILD_BRANCH} || true gh pr create --fill --base ${GITHUB_REF#refs/heads/} --head ${BUILD_BRANCH} || true