Skip to content

Commit

Permalink
Merge branch 'padms/1626'
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Oct 30, 2023
2 parents 8287034 + 242c49e commit b4822f4
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .github/workflows/dataset-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,43 @@ on:
# Runs at 02:00 UTC every sunday
# - cron: '0 2 * * 0'
jobs:
check-code:
runs-on: ubuntu-latest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
ref: staging
- name: Install pnpm 📦
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '8.5.1'
- name: Cache pnpm modules 💾
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Install dependencies 🔧
id: install-dependencies
run: |
pnpm install
pnpm sanityv3 install
- uses: act10ns/slack@v1
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
if: failure()
backup-dataset:
runs-on: ubuntu-latest
name: Backup dataset
strategy:
matrix:
dataset: ['global-development'] #${{ fromJson(needs.read-satellites.outputs.matrix) }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Export dataset
uses: sanity-io/[email protected]
env:
Expand Down

0 comments on commit b4822f4

Please sign in to comment.