Skip to content

Commit

Permalink
test cache workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andromaqui committed Jul 18, 2024
1 parent 2ce17f7 commit 51ef6a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/preview-env-build-cache.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: preview-env-build-cache
on:
pull_request:
push:
branches:
- master
Expand All @@ -10,15 +11,13 @@ concurrency:

jobs:
deploy-preview:
if: github.event.pull_request.state != 'closed' && (contains( github.event.label.name, 'deploy') || contains( github.event.pull_request.labels.*.name, 'deploy'))
runs-on: ubuntu-22.04
timeout-minutes: 30
name: deploy-preview-env
steps:
- uses: actions/checkout@v4

- name: Restore docusaurus cache
if: github.ref != 'refs/heads/main'
uses: actions/cache/restore@v4
with:
path: |
Expand Down

0 comments on commit 51ef6a5

Please sign in to comment.