Skip to content

Generate F-Droid repo #478

Generate F-Droid repo

Generate F-Droid repo #478

Workflow file for this run

name: Generate F-Droid repo
on:
push:
branches: [ main ]
workflow_dispatch:
schedule:
- cron: "45 2 * * *"
jobs:
apps:
name: "Generate repo from apps listing"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create basic directory structure
run: mkdir -p fdroid/repo
- name: Restore correct mtime
run: |
sudo apt install git-restore-mtime
git restore-mtime
- name: Install F-Droid server software
run: |
sudo add-apt-repository ppa:fdroid/fdroidserver
sudo apt-get update
sudo apt-get install fdroidserver
- name: Set up repo secrets
run: |
echo "${{ secrets.KEYSTORE_P12 }}" | base64 -d - > fdroid/keystore.p12
echo "${{ secrets.CONFIG_YML }}" | base64 -d - > fdroid/config.yml
- uses: actions/setup-go@v2
name: Set up Go
with:
go-version: '^1.17.0'
- name: Run update script
run: bash update.sh 2>&1
env:
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}