feat(endpoint): remove book from JSON listings (#297) #449
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: Sync to DigitalOcean Spaces | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Sending to DigitalOcean | |
uses: LibreTexts/do-space-sync-action@master | |
with: | |
args: --acl public-read | |
env: | |
SOURCE_DIR: './public' | |
DEST_DIR: 'github/LibreTextsMain' | |
SPACE_NAME: ${{ secrets.Spaces_Name }} | |
SPACE_REGION: ${{ secrets.Spaces_Region}} | |
SPACE_ACCESS_KEY_ID: ${{ secrets.Spaces_Key }} | |
SPACE_SECRET_ACCESS_KEY: ${{ secrets.Spaces_Secret }} | |
- name: Wait / Sleep | |
uses: kibertoad/[email protected] | |
with: | |
time: '2m' | |
- name: Cloudflare Purge Cache | |
uses: jakejarvis/[email protected] | |
env: | |
# Zone is required by both authentication methods | |
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }} | |
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} |