-
Notifications
You must be signed in to change notification settings - Fork 18
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
Can I upload the contents of a folder with pre-built assets? #22
Comments
Yes it is possible. name: deploy
on:
push:
branches:
- master
jobs:
build:
name: build and deploy
runs-on: ubuntu-latest
needs: prepare
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.10
uses: actions/setup-node@v1
with:
node-version: 12.10
- name: npm install, build
run: |
npm install
npx ng build --prod
- uses: amondnet/now-deployment@v1
with:
zeit-token: ${{ secrets.NOW_TOKEN }}
now-args: '--prod'
working-directory: ./dist/sample-app |
how would that show up in the "Checks" part of a PR? would the URL be available under the "Details" link? |
yes, https://github.com/amondnet/now-deployment/blob/master/.github/workflows/deploy.yml |
oooo nice! |
I'd like to manage the build for my app in GH actions. Is this possible with the now action?
The text was updated successfully, but these errors were encountered: