Sha256: db8903e98c5bb7c48e3a4797bb31ad36d92bf1ac4a0ac9868017e0f716a23748

Contents?: true

Size: 748 Bytes

Versions: 8

Compression:

Stored size: 748 Bytes

Contents

name: backup

on:
  schedule:
    - cron: "0 * * * *"
  workflow_dispatch:

jobs:
  backup:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby 2.7.1
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7.1
    - name: perform backup
      env:
        DD_API_KEY: ${{ secrets.DD_API_KEY }}
        DD_APP_KEY: ${{ secrets.DD_APP_KEY }}
      run: |
          gem install --no-document bundler
          bundle install --jobs 4 --retry 3
          bundle exec datadog_backup backup
    - name: commit changes
      uses: stefanzweifel/git-auto-commit-action@v4
      with:
        commit_message: "Changes as of run: ${{ github.run_id }}"
        file_pattern: backup/
        repository: .

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
datadog_backup-3.3.0 example/.github/workflows/backup.yml
datadog_backup-3.2.1 example/.github/workflows/backup.yml
datadog_backup-3.2.0 example/.github/workflows/backup.yml
datadog_backup-3.1.1 example/.github/workflows/backup.yml
datadog_backup-3.1.0 example/.github/workflows/backup.yml
datadog_backup-3.0.0 example/.github/workflows/backup.yml
datadog_backup-3.0.0.alpha.2 example/.github/workflows/backup.yml
datadog_backup-3.0.0.alpha.1 example/.github/workflows/backup.yml