(A) Files to artifact #800
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: (A) Files to artifact | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '16 00 * * *' | |
jobs: | |
build: | |
name: Grab files backup and clean it out a bit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/dingorunner | |
env: | |
runner: bkup-files | |
terminus_api: ${{ secrets.TERMINUS_API }} | |
SSH_PRIVATE_KEY: ${{ secrets.PANTHEON_DEPLOY_KEY}} | |
site_name: ${{ secrets.TERMINUS_SITE_NAME }} | |
env: live | |
- name: 'Upload Backup Artifact' | |
uses: actions/[email protected] | |
with: | |
name: amp-file-backup | |
path: files.tar.gz | |
retention-days: 5 |