Update Materialgram #89
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: Update Materialgram | |
on: | |
schedule: | |
- cron: '0 * * * *' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:41 | |
steps: | |
- name: Install dependencies | |
run: | | |
dnf install -y git rpm-build createrepo_c curl jq tar | |
- name: Prepare and Build RPM | |
run: | | |
git clone https://${{ secrets.PAT }}@github.com/burhancodes/materialgram-repo.git repo | |
cd repo | |
git pull origin main | |
chmod +x update.sh | |
./update.sh |