Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/restore-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Restore Storybook URL

on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/cache/restore@v3
id: cache
with:
path: url.txt
key: ${{ github.ref_name }}-storybook-url

- name: Do stuff
run: cat url.txt
24 changes: 24 additions & 0 deletions .github/workflows/testing-url-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Cache deployment URL

on:
pull_request

jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Build site
run: |
echo "Building the site"
touch url.txt
echo "http://neverbland.com" > url.txt
- uses: actions/cache@v2
id: storybook-url
with:
path: url.txt
key: ${{ github.ref_name }}-storybook-url