From 6ad62016ed3193def4464e5949dc8afc52a6d420 Mon Sep 17 00:00:00 2001 From: Fausto Núñez Alberro Date: Sat, 16 Jan 2021 14:13:30 +0100 Subject: Automate weekly build process with pybase16 and GH Actions --- .github/workflows/update.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/update.yml (limited to '.github') diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml new file mode 100644 index 0000000..aed0bdc --- /dev/null +++ b/.github/workflows/update.yml @@ -0,0 +1,25 @@ +name: Update the repository with the latest base16 colorschemes +on: + schedule: + - cron: "0 0 * * 0" # https://crontab.guru/every-week +jobs: + run: + runs-on: ubuntu-latest + steps: + - name: Set up Python + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Upgrade pip + run: python -m pip install --upgrade pip + - name: Install pybase16 + run: pip install pybase16-builder + - name: Fetch the repository code + uses: actions/checkout@v2 + - name: Run make + run: make + - name: Commit the changes, if any + uses: stefanzweifel/git-auto-commit-action@v4.1.1 + with: + commit_message: Update repository with the latest base16 colorschemes + branch: ${{ github.head_ref }} -- cgit v1.2.3