Update but-really-what-is-a-javascript-test.mdx (#509) #1431
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: 🥬 Refresh Content | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
jobs: | |
refresh: | |
name: 🥬 Refresh Content | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: '50' | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: 🥬 Refresh Content | |
run: node ./other/refresh-changed-content.js ${{ github.sha }} | |
env: | |
REFRESH_CACHE_SECRET: ${{ secrets.REFRESH_CACHE_SECRET }} |