forked from remix-run/react-router
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 842 Bytes
/
website.yml
File metadata and controls
31 lines (27 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: website
on:
push:
branches: [main]
paths:
- docs/**
- examples/README.md
- examples/**/README.md
release:
types: [published]
jobs:
website:
if: github.repository == 'remix-run/react-router'
runs-on: ubuntu-latest
steps:
- name: Refresh the docs
uses: fjogeleit/http-request-action@v1.8.1
with:
url: "${{ secrets.DOCS_REFRESH_URL }}?ref=${{ github.ref }}"
method: "POST"
customHeaders: '{"Authorization": "${{ secrets.DOCS_REFRESH_TOKEN }}"}'
- name: Refresh the staging docs
uses: fjogeleit/http-request-action@v1.8.1
with:
url: "${{ secrets.DOCS_STAGING_REFRESH_URL }}?ref=${{ github.ref }}"
method: "POST"
customHeaders: '{"Authorization": "${{ secrets.DOCS_REFRESH_TOKEN }}"}'