Weekly #265
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Weekly | |
on: | |
schedule: | |
- cron: '0 0 * * 3' | |
workflow_dispatch: | |
inputs: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/elementary/docker:horus-stable | |
steps: | |
- name: Install git | |
run: | | |
add-apt-repository ppa:git-core/ppa -y | |
apt-get update | |
apt-get install git -y | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GIT_USER_TOKEN }} | |
- name: Build metadata | |
run: | | |
./build.sh jammy stable | |
- name: Push metadata | |
run: | | |
git config --global --add safe.directory ${GITHUB_WORKSPACE} | |
git config --global user.name "${GIT_USER_NAME}" | |
git config --global user.email "${GIT_USER_EMAIL}" | |
git add . | |
git commit -m "Automatic update of metadata" | |
git push | |
env: | |
GIT_USER_NAME: "elementaryBot" | |
GIT_USER_EMAIL: "[email protected]" |