This repository has been archived by the owner on May 22, 2024. It is now read-only.
Clean Spaces #637
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: Clean Spaces | |
on: | |
schedule: | |
- cron: '30 23 * * *' | |
jobs: | |
clean-spaces: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Cleanup spaces | |
run: yarn clean-up-test-spaces | |
if: always() | |
env: | |
CONTENTFUL_INTEGRATION_TEST_CMA_TOKEN: ${{ secrets.CMS_CRUD }} |