mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Add deploy preview to Netlify alias
This commit is contained in:
4
.github/workflows/guide.yml
vendored
4
.github/workflows/guide.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
deploy-message: "Deploy from GitHub Actions"
|
||||
netlify-config-path: './guide/netlify.toml'
|
||||
alias: ${{ github.event.number }}
|
||||
alias: deploy-preview-${{ github.event.number }}
|
||||
env:
|
||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_GUIDE_SITE_ID }}
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
deploy-message: "Deploy from GitHub Actions"
|
||||
netlify-config-path: './guide/netlify.toml'
|
||||
alias: ${{ github.head_ref }}
|
||||
alias: deploy-preview-${{ github.head_ref }}
|
||||
env:
|
||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_GUIDE_SITE_ID }}
|
||||
|
||||
Reference in New Issue
Block a user