-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: alias domain to deployment #7
Comments
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
New input variable : alias-domains Examplename: example - angular
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
angular:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: build
run: |
cd example/angular
npm ci
npx ng build --prod
- uses: ./
id: vercel-action-staging
if: github.event_name == 'pull_request'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID_ANGULAR }}
working-directory: example/angular/dist/angular
alias-domains: |
staging.angular.vercel-action.amond.dev
pr-{{PR_NUMBER}}.angular.vercel-action.amond.dev
- uses: ./
id: vercel-action-production
if: github.event_name == 'push'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID_ANGULAR }}
working-directory: example/angular/dist/angular
vercel-args: '--prod ' You can use pull request number via |
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 9, 2020
resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net> feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
amondnet
added a commit
that referenced
this issue
Jul 24, 2020
* feat: alias domain to deployment resolve #7 Signed-off-by: Minsu Lee <amond@amond.net>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
branch based
master -> production ->
prod.vercel.amond.net
develop -> staging ->
staging.vercel.amond.net
pr number based
PR-1 ->
pr-1.vercel.amond.net
PR-2 ->
pr-2.vercel.amond.net
The text was updated successfully, but these errors were encountered: