Created
August 3, 2020 18:54
-
-
Save benawad/fdbcade50fa67862cc892da86422e92a to your computer and use it in GitHub Desktop.
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
steps: | |
- uses: actions/checkout@v2 | |
- run: yarn install | |
- run: yarn test | |
- run: yarn build | |
# make sure to add netlify-cli in your package.json | |
- name: Send to Netlify | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
run: npx netlify deploy --dir=./public -p -m $GITHUB_REF --auth $NETLIFY_AUTH_TOKEN --site $NETLIFY_SITE_ID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment