Skip to content

Repositório APT

Repositório APT #2220

name: Repositório APT
on:
push:
branches:
- 'main'
paths-ignore:
- '.editorconfig'
- 'leiame.md'
- 'readme.md'
- '*.jpg'
- '*.png'
- '*.svg'
- '_config.yml'
schedule:
- cron: '0 8,20 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Configuração do ambiente de compilação
run: bash -x scripts/env.sh
- name: Compilação do repositório APT
run: bash scripts/build.sh
env:
GEMFURY_PUSH_TOKEN: ${{ secrets.GEMFURY_PUSH_TOKEN }}
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
BALTOREPO_TOKEN: ${{ secrets.BALTOREPO_TOKEN }}
- uses: otto-de/purge-deprecated-workflow-runs@v2
with:
remove-cancelled: true
remove-failed: true
remove-obsolete: false
token: ${{ secrets.PAT }}
remove-older-than: 3d