We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f4b78f commit aab8457Copy full SHA for aab8457
.github/workflows/update-and-preview.yml
@@ -0,0 +1,26 @@
1
+name: Update and Preview
2
+on: workflow_dispatch
3
+
4
+jobs:
5
+ deploy-preview:
6
+ name: Deploy Preview
7
+ runs-on: ubuntu-latest
8
+ environment: deploy
9
10
+ steps:
11
+ - name: Checkout repository
12
+ uses: actions/checkout@v4
13
14
+ - name: Pull documents from Notion
15
+ run: ./pull_docs.sh --skip-pulling-from-s3
16
+ env:
17
+ SF_HELP_NOTION_TOKEN: ${{ secrets.SF_HELP_NOTION_TOKEN }}
18
+ SF_HELP_NOTION_ROOT_PAGE_ID: ${{ secrets.SF_HELP_NOTION_ROOT_PAGE_ID }}
19
20
+ - name: Build the site
21
+ run: ./build.sh
22
23
+ - name: Deploy preview to Netlify
24
+ run: ./deploy.sh
25
26
+ NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
0 commit comments