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

github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrago9876543210 <al.volf.av@gmail.com>2020-06-27 12:02:22 +0300
committerArthurSonzogni <sonzogniarthur@gmail.com>2020-06-28 14:34:31 +0300
commit7873076f9e272fba804368d54c3e7903c6226676 (patch)
tree54d48d23e713d4dbc62f731188a9b353adae9b9c
parent29433267e8e2dab0a63fe2098f34c31ef6140a5a (diff)
Auto update using github actions
-rw-r--r--.github/workflows/update.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml
new file mode 100644
index 0000000..d7fd39c
--- /dev/null
+++ b/.github/workflows/update.yml
@@ -0,0 +1,21 @@
+on:
+ schedule:
+ - cron: '0 0 * * 0' #every week
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ with:
+ persist-credentials: false
+ fetch-depth: 0
+ - name: Commit files
+ run: |
+ git config --local user.email "action@github.com"
+ git config --local user.name "GitHub Actions"
+ ./update.py
+ - name: Push changes
+ uses: ad-m/github-push-action@master
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}