Sha256: d0a851338a1d588040951da1017024c0c51a5c442a78a6992b25a8e789bfa53f

Contents?: true

Size: 768 Bytes

Versions: 5

Compression:

Stored size: 768 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:
        DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
        DATADOG_APP_KEY: ${{ secrets.DATADOG_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

5 entries across 5 versions & 1 rubygems

Version Path
datadog_backup-2.0.2 example/.github/workflows/backup.yml
datadog_backup-2.0.1 example/.github/workflows/backup.yml
datadog_backup-2.0.0 example/.github/workflows/backup.yml
datadog_backup-1.1.4 example/.github/workflows/backup.yml
datadog_backup-1.1.3 example/.github/workflows/backup.yml