Node dist vis #2166
Workflow file for this run
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: Netlify Preview Deploy | |
on: | |
pull_request: | |
types: ['opened', 'edited', 'synchronize'] | |
concurrency: | |
group: preview-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
name: 'Deploy' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Prepare Deploy | |
uses: ./.github/actions/prepare-deploy | |
with: | |
main-branch-name: ${{ github.base_ref || github.ref_name }} | |
app-configuration: preview | |
- name: Create Redirects file | |
run: ./.github/actions/prepare-deploy/create-redirects.sh | |
- name: Publish | |
id: deploy | |
uses: netlify/actions/cli@master | |
with: | |
args: deploy --dir=deploy --filter=ftu-ui | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
- name: Create Deploy Comment | |
uses: ./.github/actions/deploy-comment | |
with: | |
deploy-url: ${{steps.deploy.outputs.NETLIFY_URL}} |