Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoThemes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandros <onedrawingperday@users.noreply.github.com>2019-11-08 21:08:58 +0300
committerGitHub <noreply@github.com>2019-11-08 21:08:58 +0300
commitd78dd4b3b8b85d2f9900662cf23ff113efff9eac (patch)
treed7c89b5063905f999eac37c1108e09c0a82af538 /.github
parent5eef78fe995b6b3a4dc37e804b2ef3fb652fd74c (diff)
Create themesUpdate.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/themesUpdate.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/themesUpdate.yml b/.github/workflows/themesUpdate.yml
new file mode 100644
index 0000000..830ebd6
--- /dev/null
+++ b/.github/workflows/themesUpdate.yml
@@ -0,0 +1,21 @@
+name: Themes Update
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - name: Prepare repository
+ run: |
+ git config --global user.email "onedrawingperday@users.noreply.github.comm"
+ git config --global user.name "onedrawingperday"
+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
+ git checkout "${GITHUB_REF:11}"
+ - name: Update Submodules
+ run: |
+ git submodule init && git submodule update --recursive --remote && git add . && git commit -am "Update Themes"
+ git push --force-with-lease