Skip to content

datum még kell

datum még kell #7

name: Clean Deployment Logs

Check failure on line 1 in .github/workflows/cleanup-deployments.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cleanup-deployments.yml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
on:
workflow_dispatch:
inputs:
days_old:
description: "The amount of days old to delete"
default: "7"
required: false
jobs:
cleanup:
runs-on: ubuntu-latest
permissions: write-all
steps:
uses: strumwolf/delete-deployment-environment@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
days_old: ${{ github.event.inputs.days_old }}
environment: github-pages
onlyRemoveDeployments: true