Update and Preview #1
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: Update and Preview | |
on: workflow_dispatch | |
jobs: | |
deploy-preview: | |
name: Deploy Preview | |
runs-on: ubuntu-latest | |
environment: deploy | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run pull_docs.sh | |
run: ./pull_docs.sh --skip-pulling-from-s3 | |
env: | |
SF_HELP_NOTION_TOKEN: ${{ secrets.SF_HELP_NOTION_TOKEN }} | |
SF_HELP_NOTION_ROOT_PAGE_ID: ${{ secrets.SF_HELP_NOTION_TOKEN }} | |
- name: Run build.sh | |
run: ./build.sh | |
- name: Run deploy.sh | |
run: ./deploy.sh | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} |