ppp-sync/.github/workflows/parrot-steam.yml

37 lines
764 B
YAML
Raw Normal View History

2024-07-31 16:34:27 +02:00
name: Process Steam Powered Repository (Parrot)
on:
2024-08-01 00:22:57 +02:00
schedule:
- cron: '17 2 * * *'
2024-07-31 16:34:27 +02:00
push:
branches:
- main
paths:
- '.github/parrot-steam'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
volumes:
- /proc:/proc
options: --privileged -it
steps:
2024-07-31 16:43:07 +02:00
- name: Install Some essentials
2024-07-31 17:02:18 +02:00
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
2024-07-31 16:43:07 +02:00
2024-07-31 16:34:27 +02:00
- uses: actions/checkout@v3
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Pika Package Processor Script
run: ./parrot-steam.sh