-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 949 Bytes
/
apt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: apt
on:
repository_dispatch:
types:
- apt
schedule:
# Times are in UTC, this job is run daily @ 10HRS = 5AM EST
- cron: '55 9 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: checkout
uses: actions/checkout@v4
- name: install apps
run: |
sudo apt-get update
sudo apt-get install dpkg-dev
- name: update apt
run: |
curl -sLo ~/am-apt-update "https://github.com/forwardcomputers/bin/raw/main/am-apt-update"
chmod +x ~/am-apt-update
~/am-apt-update
- name: commit and push
run: |
git config --local user.email "[email protected]"
git config --local user.name "Ali Mustakim"
git add .
git diff-index --quiet HEAD || git commit -a -m "github actions update"
git push origin