Merge branch 'master' of https://github.com/lifebottle/Tales-of-Desti… #3352
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: Build and Deploy | |
on: [push] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. | |
with: | |
working-directory: ./docs # This is already set on Vercel | |
persist-credentials: false | |
- name: Vercel Deploy | |
uses: amondnet/vercel-action@v20 | |
with: | |
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required | |
github-token: ${{ secrets.GITHUB_TOKEN }} #Optional | |
vercel-args: "--prod" #Optional | |
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}} #Required | |
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}} #Required | |
alias-domains: | #Optional | |
tales-of-destiny-dc.vercel.app |