chore(bot): update blueprints #1819
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: ✨ Sync Debian repository | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
sync_repository: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/upciti/ops2deb:latest | |
options: --user root | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install wakemebot | |
uses: upciti/wakemeops-action@v1 | |
with: | |
packages: | | |
wakemebot | |
- name: Print ops2deb and wakemebot versions | |
run: | | |
ops2deb version | |
wakemebot version | |
- name: Sync WakeMeOps Debian repository | |
shell: bash | |
env: | |
WAKEMEBOT_APTLY_SERVER_URL: ${{ secrets.WAKEMEBOT_APTLY_SERVER_URL }} | |
WAKEMEBOT_APTLY_CA_CERT: ${{ secrets.WAKEMEBOT_APTLY_CA_CERT }} | |
WAKEMEBOT_APTLY_CLIENT_CERT: ${{ secrets.WAKEMEBOT_APTLY_CLIENT_CERT }} | |
WAKEMEBOT_APTLY_CLIENT_KEY: ${{ secrets.WAKEMEBOT_APTLY_CLIENT_KEY }} | |
OPS2DEB_EXIT_CODE: 0 | |
run: | | |
mkdir -p build | |
ops2deb delta -r "http://deb.wakemeops.com/wakemeops stable" --json 1> build/ops2deb-delta.json | |
for component in desktop dev devops secops terminal; do | |
make "build-${component}" | |
wakemebot sync build | |
rm -rf "build/${component}" | |
done |